Home
last modified time | relevance | path

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

/linux-6.1.9/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.c207 if (jd->use_arch_timestamp && !jd->session->time_conv.time_mult) { in jit_open()
399 tc.time_mult = time_conv->time_mult; in convert_timestamp()
Dintel-pt.c1174 quot = ns / pt->tc.time_mult; in intel_pt_ns_to_ticks()
1175 rem = ns % pt->tc.time_mult; in intel_pt_ns_to_ticks()
1177 pt->tc.time_mult; in intel_pt_ns_to_ticks()
4138 pt->tc.time_mult = auxtrace_info->priv[INTEL_PT_TIME_MULT]; in intel_pt_process_auxtrace_info()
4215 if (pt->timeless_decoding && !pt->tc.time_mult) in intel_pt_process_auxtrace_info()
4216 pt->tc.time_mult = 1; in intel_pt_process_auxtrace_info()
4300 if (pt->tc.time_mult) { in intel_pt_process_auxtrace_info()
Darm-spe.c1312 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.c988 event->time_conv.time_mult = bswap_64(event->time_conv.time_mult); in perf_event__time_conv_swap()
/linux-6.1.9/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-6.1.9/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.c333 struct perf_tsc_conversion tc = { .time_mult = 0, }; in intel_pt_info_fill()
380 cap_user_time_zero = tc.time_mult != 0; in intel_pt_info_fill()
391 auxtrace_info->priv[INTEL_PT_TIME_MULT] = tc.time_mult; in intel_pt_info_fill()
/linux-6.1.9/tools/lib/perf/include/perf/
Devent.h421 __u64 time_mult; member
/linux-6.1.9/tools/include/uapi/linux/
Dperf_event.h658 __u32 time_mult; member
/linux-6.1.9/include/uapi/linux/
Dperf_event.h658 __u32 time_mult; member
/linux-6.1.9/arch/arm64/kernel/
Dperf_event.c1425 userpg->time_mult = rd->mult; in device_initcall()
1451 userpg->time_mult >>= 1; in device_initcall()
/linux-6.1.9/tools/perf/
Dbuiltin-inject.c1316 tc->time_mult = time_conv->time_mult; in get_tsc_conv()
/linux-6.1.9/arch/x86/events/
Dcore.c2755 userpg->time_mult = data.cyc2ns_mul; in arch_perf_update_userpage()