Home
last modified time | relevance | path

Searched refs:time_shift (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/tools/perf/util/
Dtsc.c25 return (quot << tc->time_shift) + in perf_time_to_tsc()
26 (rem << tc->time_shift) / tc->time_mult; in perf_time_to_tsc()
37 quot = cyc >> tc->time_shift; in tsc_to_perf_time()
38 rem = cyc & (((u64)1 << tc->time_shift) - 1); in tsc_to_perf_time()
40 ((rem * tc->time_mult) >> tc->time_shift); in tsc_to_perf_time()
53 tc->time_shift = pc->time_shift; in perf_read_tsc_conversion()
101 event.time_conv.time_shift = tc.time_shift; in perf_event__synth_time_conv()
121 ret = fprintf(fp, "\n... Time Shift %" PRI_lu64 "\n", tc->time_shift); in perf_event__fprintf_time_conv()
Dtsc.h10 u16 time_shift; member
Djitdump.c392 struct perf_tsc_conversion tc = { .time_shift = 0, }; in convert_timestamp()
398 tc.time_shift = time_conv->time_shift; in convert_timestamp()
Darm-spe.c1311 spe->tc.time_shift = tc->time_shift; in arm_spe_process_auxtrace_info()
Dintel-bts.c881 bts->tc.time_shift = auxtrace_info->priv[INTEL_BTS_TIME_SHIFT]; in intel_bts_process_auxtrace_info()
Dintel-pt.c1176 return (quot << pt->tc.time_shift) + (rem << pt->tc.time_shift) / in intel_pt_ns_to_ticks()
4137 pt->tc.time_shift = auxtrace_info->priv[INTEL_PT_TIME_SHIFT]; in intel_pt_process_auxtrace_info()
Dsession.c987 event->time_conv.time_shift = bswap_64(event->time_conv.time_shift); in perf_event__time_conv_swap()
/linux-6.1.9/tools/lib/perf/
Dmmap.c403 u32 seq, idx, time_mult = 0, time_shift = 0; in perf_mmap__read_self() local
419 time_shift = READ_ONCE(pc->time_shift); in perf_mmap__read_self()
449 delta = time_offset + mul_u64_u32_shr(cyc, time_mult, time_shift); in perf_mmap__read_self()
/linux-6.1.9/tools/lib/perf/include/perf/
Devent.h420 __u64 time_shift; member
/linux-6.1.9/arch/arm64/kernel/
Dperf_event.c1426 userpg->time_shift = rd->shift; in device_initcall()
1449 if (userpg->time_shift == 32) { in device_initcall()
1450 userpg->time_shift = 31; in device_initcall()
/linux-6.1.9/tools/include/uapi/linux/
Dperf_event.h657 __u16 time_shift; member
/linux-6.1.9/include/uapi/linux/
Dperf_event.h657 __u16 time_shift; member
/linux-6.1.9/tools/perf/arch/x86/util/
Dintel-bts.c96 auxtrace_info->priv[INTEL_BTS_TIME_SHIFT] = tc.time_shift; in intel_bts_info_fill()
Dintel-pt.c390 auxtrace_info->priv[INTEL_PT_TIME_SHIFT] = tc.time_shift; in intel_pt_info_fill()
/linux-6.1.9/tools/perf/
Dbuiltin-inject.c1315 tc->time_shift = time_conv->time_shift; in get_tsc_conv()
/linux-6.1.9/arch/x86/events/
Dcore.c2756 userpg->time_shift = data.cyc2ns_shift; in arch_perf_update_userpage()