Home
last modified time | relevance | path

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

/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.c399 struct perf_tsc_conversion tc = { .time_shift = 0, }; in convert_timestamp()
405 tc.time_shift = time_conv->time_shift; in convert_timestamp()
Darm-spe.c1082 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.c1102 return (quot << pt->tc.time_shift) + (rem << pt->tc.time_shift) / in intel_pt_ns_to_ticks()
3718 pt->tc.time_shift = auxtrace_info->priv[INTEL_PT_TIME_SHIFT]; in intel_pt_process_auxtrace_info()
Dsession.c971 event->time_conv.time_shift = bswap_64(event->time_conv.time_shift); in perf_event__time_conv_swap()
/tools/perf/arch/x86/tests/
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()
/tools/lib/perf/
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()
/tools/lib/perf/include/perf/
Devent.h346 __u64 time_shift; member
/tools/include/uapi/linux/
Dperf_event.h614 __u16 time_shift; member
/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.c384 auxtrace_info->priv[INTEL_PT_TIME_SHIFT] = tc.time_shift; in intel_pt_info_fill()