Home
last modified time | relevance | path

Searched refs:time_shift (Results 1 – 4 of 4) 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 & ((1 << tc->time_shift) - 1); in tsc_to_perf_time()
24 ((rem * tc->time_mult) >> tc->time_shift); in tsc_to_perf_time()
/tools/perf/tests/
Drdpmc.c34 u32 seq, idx, time_mult = 0, time_shift = 0; in mmap_read_self() local
47 time_shift = pc->time_shift; in mmap_read_self()
62 quot = (cyc >> time_shift); in mmap_read_self()
63 rem = cyc & ((1 << time_shift) - 1); in mmap_read_self()
65 ((rem * time_mult) >> time_shift); in mmap_read_self()
/tools/perf/arch/x86/util/
Dtsc.c23 tc->time_shift = pc->time_shift; in perf_read_tsc_conversion()
Dtsc.h7 u16 time_shift; member