Home
last modified time | relevance | path

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

/linux-5.19.10/tools/perf/util/
Dtsc.c23 quot = t / tc->time_mult; in perf_time_to_tsc()
24 rem = t % tc->time_mult; in perf_time_to_tsc()
26 (rem << tc->time_shift) / tc->time_mult; in perf_time_to_tsc()
39 return tc->time_zero + quot * tc->time_mult + in tsc_to_perf_time()
40 ((rem * tc->time_mult) >> tc->time_shift); in tsc_to_perf_time()
52 tc->time_mult = pc->time_mult; in perf_read_tsc_conversion()
100 event.time_conv.time_mult = tc.time_mult; in perf_event__synth_time_conv()
122 ret += fprintf(fp, "... Time Muliplier %" PRI_lu64 "\n", tc->time_mult); in perf_event__fprintf_time_conv()
Dtsc.h11 u32 time_mult; member
Djitdump.c214 if (jd->use_arch_timestamp && !jd->session->time_conv.time_mult) { in jit_open()
406 tc.time_mult = time_conv->time_mult; in convert_timestamp()
Dintel-pt.c1149 quot = ns / pt->tc.time_mult; in intel_pt_ns_to_ticks()
1150 rem = ns % pt->tc.time_mult; in intel_pt_ns_to_ticks()
1152 pt->tc.time_mult; in intel_pt_ns_to_ticks()
3965 pt->tc.time_mult = auxtrace_info->priv[INTEL_PT_TIME_MULT]; in intel_pt_process_auxtrace_info()
4042 if (pt->timeless_decoding && !pt->tc.time_mult) in intel_pt_process_auxtrace_info()
4043 pt->tc.time_mult = 1; in intel_pt_process_auxtrace_info()
4123 if (pt->tc.time_mult) { in intel_pt_process_auxtrace_info()
Darm-spe.c1214 spe->tc.time_mult = tc->time_mult; in arm_spe_process_auxtrace_info()
Dintel-bts.c882 bts->tc.time_mult = auxtrace_info->priv[INTEL_BTS_TIME_MULT]; in intel_bts_process_auxtrace_info()
Dsession.c981 event->time_conv.time_mult = bswap_64(event->time_conv.time_mult); in perf_event__time_conv_swap()
/linux-5.19.10/tools/perf/arch/x86/tests/
Drdpmc.c40 u32 seq, idx, time_mult = 0, time_shift = 0; in mmap_read_self() local
52 time_mult = pc->time_mult; in mmap_read_self()
70 delta = time_offset + quot * time_mult + in mmap_read_self()
71 ((rem * time_mult) >> time_shift); in mmap_read_self()
/linux-5.19.10/tools/lib/perf/
Dmmap.c403 u32 seq, idx, time_mult = 0, time_shift = 0; in perf_mmap__read_self() local
418 time_mult = READ_ONCE(pc->time_mult); in perf_mmap__read_self()
449 delta = time_offset + mul_u64_u32_shr(cyc, time_mult, time_shift); in perf_mmap__read_self()
/linux-5.19.10/tools/perf/arch/x86/util/
Dintel-bts.c71 struct perf_tsc_conversion tc = { .time_mult = 0, }; in intel_bts_info_fill()
88 cap_user_time_zero = tc.time_mult != 0; in intel_bts_info_fill()
97 auxtrace_info->priv[INTEL_BTS_TIME_MULT] = tc.time_mult; in intel_bts_info_fill()
Dintel-pt.c332 struct perf_tsc_conversion tc = { .time_mult = 0, }; in intel_pt_info_fill()
379 cap_user_time_zero = tc.time_mult != 0; in intel_pt_info_fill()
390 auxtrace_info->priv[INTEL_PT_TIME_MULT] = tc.time_mult; in intel_pt_info_fill()
/linux-5.19.10/tools/lib/perf/include/perf/
Devent.h352 __u64 time_mult; member
/linux-5.19.10/tools/include/uapi/linux/
Dperf_event.h614 __u32 time_mult; member
/linux-5.19.10/include/uapi/linux/
Dperf_event.h614 __u32 time_mult; member
/linux-5.19.10/arch/arm64/kernel/
Dperf_event.c1425 userpg->time_mult = rd->mult; in device_initcall()
1451 userpg->time_mult >>= 1; in device_initcall()
/linux-5.19.10/arch/x86/events/
Dcore.c2751 userpg->time_mult = data.cyc2ns_mul; in arch_perf_update_userpage()