Home
last modified time | relevance | path

Searched refs:time_mult (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/tools/perf/util/
Dtsc.c12 quot = t / tc->time_mult; in perf_time_to_tsc()
13 rem = t % tc->time_mult; in perf_time_to_tsc()
15 (rem << tc->time_shift) / tc->time_mult; in perf_time_to_tsc()
24 return tc->time_zero + quot * tc->time_mult + in tsc_to_perf_time()
25 ((rem * tc->time_mult) >> tc->time_shift); in tsc_to_perf_time()
Dtsc.h11 u32 time_mult; member
Djitdump.c199 if (jd->use_arch_timestamp && !jd->session->time_conv.time_mult) { in jit_open()
376 tc.time_mult = jd->session->time_conv.time_mult; in convert_timestamp()
379 if (!tc.time_mult) in convert_timestamp()
Dintel-pt.c742 quot = ns / pt->tc.time_mult; in intel_pt_ns_to_ticks()
743 rem = ns % pt->tc.time_mult; in intel_pt_ns_to_ticks()
745 pt->tc.time_mult; in intel_pt_ns_to_ticks()
2434 pt->tc.time_mult = auxtrace_info->priv[INTEL_PT_TIME_MULT]; in intel_pt_process_auxtrace_info()
2571 if (pt->tc.time_mult) { in intel_pt_process_auxtrace_info()
Devent.h613 u64 time_mult; member
Dintel-bts.c889 bts->tc.time_mult = auxtrace_info->priv[INTEL_BTS_TIME_MULT]; in intel_bts_process_auxtrace_info()
/Linux-v4.19/tools/perf/arch/x86/util/
Dtsc.c23 tc->time_mult = pc->time_mult; in perf_read_tsc_conversion()
77 event.time_conv.time_mult = tc.time_mult; in perf_event__synth_time_conv()
Dintel-bts.c76 struct perf_tsc_conversion tc = { .time_mult = 0, }; in intel_bts_info_fill()
93 cap_user_time_zero = tc.time_mult != 0; in intel_bts_info_fill()
102 auxtrace_info->priv[INTEL_BTS_TIME_MULT] = tc.time_mult; in intel_bts_info_fill()
Dintel-pt.c330 struct perf_tsc_conversion tc = { .time_mult = 0, }; in intel_pt_info_fill()
370 cap_user_time_zero = tc.time_mult != 0; in intel_pt_info_fill()
381 auxtrace_info->priv[INTEL_PT_TIME_MULT] = tc.time_mult; in intel_pt_info_fill()
/Linux-v4.19/tools/perf/arch/x86/tests/
Drdpmc.c38 u32 seq, idx, time_mult = 0, time_shift = 0; in mmap_read_self() local
50 time_mult = pc->time_mult; in mmap_read_self()
68 delta = time_offset + quot * time_mult + in mmap_read_self()
69 ((rem * time_mult) >> time_shift); in mmap_read_self()
/Linux-v4.19/include/uapi/linux/
Dperf_event.h566 __u32 time_mult; member
/Linux-v4.19/tools/include/uapi/linux/
Dperf_event.h566 __u32 time_mult; member
/Linux-v4.19/arch/arm64/kernel/
Dperf_event.c1303 clocks_calc_mult_shift(&userpg->time_mult, &shift, freq, in device_initcall()
1313 userpg->time_mult >>= 1; in device_initcall()
/Linux-v4.19/arch/x86/events/
Dcore.c2326 userpg->time_mult = data.cyc2ns_mul; in arch_perf_update_userpage()