Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A 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()
A Dtsc.h10 u16 time_shift; member
A Djitdump.c399 struct perf_tsc_conversion tc = { .time_shift = 0, }; in convert_timestamp()
405 tc.time_shift = time_conv->time_shift; in convert_timestamp()
A Darm-spe.c1153 spe->tc.time_shift = tc->time_shift; in arm_spe_process_auxtrace_info()
A Dintel-bts.c881 bts->tc.time_shift = auxtrace_info->priv[INTEL_BTS_TIME_SHIFT]; in intel_bts_process_auxtrace_info()
A Dsession.c974 event->time_conv.time_shift = bswap_64(event->time_conv.time_shift); in perf_event__time_conv_swap()
A Dintel-pt.c1078 return (quot << pt->tc.time_shift) + (rem << pt->tc.time_shift) / in intel_pt_ns_to_ticks()
3762 pt->tc.time_shift = auxtrace_info->priv[INTEL_PT_TIME_SHIFT]; in intel_pt_process_auxtrace_info()
/linux/tools/perf/arch/x86/tests/
A Drdpmc.c40 u32 seq, idx, time_mult = 0, time_shift = 0; in mmap_read_self() local
53 time_shift = pc->time_shift; in mmap_read_self()
68 quot = (cyc >> time_shift); in mmap_read_self()
69 rem = cyc & (((u64)1 << time_shift) - 1); in mmap_read_self()
71 ((rem * time_mult) >> time_shift); in mmap_read_self()
/linux/tools/lib/perf/
A Dmmap.c305 u32 seq, idx, time_mult = 0, time_shift = 0; in perf_mmap__read_self() local
321 time_shift = READ_ONCE(pc->time_shift); in perf_mmap__read_self()
351 delta = time_offset + mul_u64_u32_shr(cyc, time_mult, time_shift); in perf_mmap__read_self()
/linux/arch/arm64/kernel/
A Dperf_event.c1312 userpg->time_shift = rd->shift; in device_initcall()
1335 if (userpg->time_shift == 32) { in device_initcall()
1336 userpg->time_shift = 31; in device_initcall()
/linux/tools/lib/perf/include/perf/
A Devent.h351 __u64 time_shift; member
/linux/tools/include/uapi/linux/
A Dperf_event.h609 __u16 time_shift; member
/linux/include/uapi/linux/
A Dperf_event.h609 __u16 time_shift; member
/linux/tools/perf/arch/x86/util/
A Dintel-bts.c96 auxtrace_info->priv[INTEL_BTS_TIME_SHIFT] = tc.time_shift; in intel_bts_info_fill()
A Dintel-pt.c384 auxtrace_info->priv[INTEL_PT_TIME_SHIFT] = tc.time_shift; in intel_pt_info_fill()
/linux/arch/x86/events/
A Dcore.c2744 userpg->time_shift = data.cyc2ns_shift; in arch_perf_update_userpage()

Completed in 54 milliseconds