Home
last modified time | relevance | path

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

/tools/perf/util/
Dtsc.c13 return (quot << tc->time_shift) + in perf_time_to_tsc()
14 (rem << tc->time_shift) / tc->time_mult; in perf_time_to_tsc()
21 quot = cyc >> tc->time_shift; in tsc_to_perf_time()
22 rem = cyc & (((u64)1 << tc->time_shift) - 1); in tsc_to_perf_time()
24 ((rem * tc->time_mult) >> tc->time_shift); in tsc_to_perf_time()
Dtsc.h9 u16 time_shift; member
Djitdump.c350 tc.time_shift = jd->session->time_conv.time_shift; in convert_timestamp()
Devent.h475 u64 time_shift; member
Dintel-pt.c747 return (quot << pt->tc.time_shift) + (rem << pt->tc.time_shift) / in intel_pt_ns_to_ticks()
2186 pt->tc.time_shift = auxtrace_info->priv[INTEL_PT_TIME_SHIFT]; in intel_pt_process_auxtrace_info()
Dintel-bts.c894 bts->tc.time_shift = auxtrace_info->priv[INTEL_BTS_TIME_SHIFT]; in intel_bts_process_auxtrace_info()
/tools/perf/arch/x86/util/
Dtsc.c22 tc->time_shift = pc->time_shift; in perf_read_tsc_conversion()
76 event.time_conv.time_shift = tc.time_shift; in perf_event__synth_time_conv()
Dintel-bts.c104 auxtrace_info->priv[INTEL_BTS_TIME_SHIFT] = tc.time_shift; in intel_bts_info_fill()
Dintel-pt.c378 auxtrace_info->priv[INTEL_PT_TIME_SHIFT] = tc.time_shift; in intel_pt_info_fill()
/tools/perf/arch/x86/tests/
Drdpmc.c37 u32 seq, idx, time_mult = 0, time_shift = 0; in mmap_read_self() local
50 time_shift = pc->time_shift; in mmap_read_self()
65 quot = (cyc >> time_shift); in mmap_read_self()
66 rem = cyc & (((u64)1 << time_shift) - 1); in mmap_read_self()
68 ((rem * time_mult) >> time_shift); in mmap_read_self()
/tools/include/uapi/linux/
Dperf_event.h510 __u16 time_shift; member