Searched refs:time_shift (Results 1 – 18 of 18) sorted by relevance
25 return (quot << tc->time_shift) + in perf_time_to_tsc()26 (rem << tc->time_shift) / tc->time_mult; in perf_time_to_tsc()37 quot = cyc >> tc->time_shift; in tsc_to_perf_time()38 rem = cyc & (((u64)1 << tc->time_shift) - 1); in tsc_to_perf_time()40 ((rem * tc->time_mult) >> tc->time_shift); in tsc_to_perf_time()53 tc->time_shift = pc->time_shift; in perf_read_tsc_conversion()101 event.time_conv.time_shift = tc.time_shift; in perf_event__synth_time_conv()121 ret = fprintf(fp, "\n... Time Shift %" PRI_lu64 "\n", tc->time_shift); in perf_event__fprintf_time_conv()
10 u16 time_shift; member
394 struct perf_tsc_conversion tc = { .time_shift = 0, }; in convert_timestamp()400 tc.time_shift = time_conv->time_shift; in convert_timestamp()
1331 spe->tc.time_shift = tc->time_shift; in arm_spe_process_auxtrace_info()
881 bts->tc.time_shift = auxtrace_info->priv[INTEL_BTS_TIME_SHIFT]; in intel_bts_process_auxtrace_info()
3344 etm->tc.time_shift = tc->time_shift; in cs_etm__process_auxtrace_info_full()
1204 return (quot << pt->tc.time_shift) + (rem << pt->tc.time_shift) / in intel_pt_ns_to_ticks()4230 pt->tc.time_shift = auxtrace_info->priv[INTEL_PT_TIME_SHIFT]; in intel_pt_process_auxtrace_info()
984 event->time_conv.time_shift = bswap_64(event->time_conv.time_shift); in perf_event__time_conv_swap()
469 u32 seq, idx, time_mult = 0, time_shift = 0; in perf_mmap__read_self() local485 time_shift = READ_ONCE(pc->time_shift); in perf_mmap__read_self()515 delta = time_offset + mul_u64_u32_shr(cyc, time_mult, time_shift); in perf_mmap__read_self()
56 userpg->time_shift = rd->shift; in arch_perf_update_userpage()79 if (userpg->time_shift == 32) { in arch_perf_update_userpage()80 userpg->time_shift = 31; in arch_perf_update_userpage()
1400 userpg->time_shift = rd->shift; in device_initcall()1423 if (userpg->time_shift == 32) { in device_initcall()1424 userpg->time_shift = 31; in device_initcall()
433 __u64 time_shift; member
96 auxtrace_info->priv[INTEL_BTS_TIME_SHIFT] = tc.time_shift; in intel_bts_info_fill()
384 auxtrace_info->priv[INTEL_PT_TIME_SHIFT] = tc.time_shift; in intel_pt_info_fill()
660 __u16 time_shift; member
1331 tc->time_shift = time_conv->time_shift; in get_tsc_conv()
2731 userpg->time_shift = data.cyc2ns_shift; in arch_perf_update_userpage()