Searched refs:time_mult (Results 1 – 14 of 14) sorted by relevance
12 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()
11 u32 time_mult; member
199 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()
742 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()
613 u64 time_mult; member
889 bts->tc.time_mult = auxtrace_info->priv[INTEL_BTS_TIME_MULT]; in intel_bts_process_auxtrace_info()
23 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()
76 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()
330 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()
38 u32 seq, idx, time_mult = 0, time_shift = 0; in mmap_read_self() local50 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()
566 __u32 time_mult; member
1303 clocks_calc_mult_shift(&userpg->time_mult, &shift, freq, in device_initcall()1313 userpg->time_mult >>= 1; in device_initcall()
2326 userpg->time_mult = data.cyc2ns_mul; in arch_perf_update_userpage()