Searched refs:time_mult (Results 1 – 18 of 18) sorted by relevance
23 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()
11 u32 time_mult; member
207 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()
1204 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()
1332 spe->tc.time_mult = tc->time_mult; in arm_spe_process_auxtrace_info()
882 bts->tc.time_mult = auxtrace_info->priv[INTEL_BTS_TIME_MULT]; in intel_bts_process_auxtrace_info()
3345 etm->tc.time_mult = tc->time_mult; in cs_etm__process_auxtrace_info_full()
990 event->time_conv.time_mult = bswap_64(event->time_conv.time_mult); in perf_event__time_conv_swap()
469 u32 seq, idx, time_mult = 0, time_shift = 0; in perf_mmap__read_self() local484 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()
71 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()
333 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()
55 userpg->time_mult = rd->mult; in arch_perf_update_userpage()81 userpg->time_mult >>= 1; in arch_perf_update_userpage()
1399 userpg->time_mult = rd->mult; in device_initcall()1425 userpg->time_mult >>= 1; in device_initcall()
434 __u64 time_mult; member
661 __u32 time_mult; member
1332 tc->time_mult = time_conv->time_mult; in get_tsc_conv()
2736 userpg->time_mult = data.cyc2ns_mul; in arch_perf_update_userpage()