Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A 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()
H A Dtsc.h11 u32 time_mult; member
H A Djitdump.c207 if (jd->use_arch_timestamp && !jd->session->time_conv.time_mult) { in jit_open()
401 tc.time_mult = time_conv->time_mult; in convert_timestamp()
H A Dintel-pt.c1204 quot = ns / pt->tc.time_mult; in intel_pt_ns_to_ticks()
1205 rem = ns % pt->tc.time_mult; in intel_pt_ns_to_ticks()
1207 pt->tc.time_mult; in intel_pt_ns_to_ticks()
4233 pt->tc.time_mult = auxtrace_info->priv[INTEL_PT_TIME_MULT]; in intel_pt_process_auxtrace_info()
4310 if (pt->timeless_decoding && !pt->tc.time_mult) in intel_pt_process_auxtrace_info()
4311 pt->tc.time_mult = 1; in intel_pt_process_auxtrace_info()
4387 if (pt->tc.time_mult) { in intel_pt_process_auxtrace_info()
H A Darm-spe.c1332 spe->tc.time_mult = tc->time_mult; in arm_spe_process_auxtrace_info()
H A Dintel-bts.c882 bts->tc.time_mult = auxtrace_info->priv[INTEL_BTS_TIME_MULT]; in intel_bts_process_auxtrace_info()
H A Dcs-etm.c3345 etm->tc.time_mult = tc->time_mult; in cs_etm__process_auxtrace_info_full()
H A Dsession.c990 event->time_conv.time_mult = bswap_64(event->time_conv.time_mult); in perf_event__time_conv_swap()
/openbmc/linux/tools/lib/perf/
H A Dmmap.c469 u32 seq, idx, time_mult = 0, time_shift = 0; in perf_mmap__read_self() local
484 time_mult = READ_ONCE(pc->time_mult); in perf_mmap__read_self()
515 delta = time_offset + mul_u64_u32_shr(cyc, time_mult, time_shift); in perf_mmap__read_self()
/openbmc/linux/tools/perf/arch/x86/util/
H A 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()
H A Dintel-pt.c333 struct perf_tsc_conversion tc = { .time_mult = 0, }; in intel_pt_info_fill()
375 cap_user_time_zero = tc.time_mult != 0; in intel_pt_info_fill()
386 auxtrace_info->priv[INTEL_PT_TIME_MULT] = tc.time_mult; in intel_pt_info_fill()
/openbmc/linux/drivers/perf/
H A Driscv_pmu.c55 userpg->time_mult = rd->mult; in arch_perf_update_userpage()
81 userpg->time_mult >>= 1; in arch_perf_update_userpage()
H A Darm_pmuv3.c1399 userpg->time_mult = rd->mult; in device_initcall()
1425 userpg->time_mult >>= 1; in device_initcall()
/openbmc/linux/tools/lib/perf/include/perf/
H A Devent.h434 __u64 time_mult; member
/openbmc/linux/tools/include/uapi/linux/
H A Dperf_event.h661 __u32 time_mult; member
/openbmc/linux/include/uapi/linux/
H A Dperf_event.h661 __u32 time_mult; member
/openbmc/linux/tools/perf/
H A Dbuiltin-inject.c1332 tc->time_mult = time_conv->time_mult; in get_tsc_conv()
/openbmc/linux/arch/x86/events/
H A Dcore.c2736 userpg->time_mult = data.cyc2ns_mul; in arch_perf_update_userpage()