Searched refs:time_shift (Results 1 – 16 of 16) sorted by relevance
23 return (quot << tc->time_shift) + in perf_time_to_tsc()24 (rem << tc->time_shift) / tc->time_mult; in perf_time_to_tsc()35 quot = cyc >> tc->time_shift; in tsc_to_perf_time()36 rem = cyc & (((u64)1 << tc->time_shift) - 1); in tsc_to_perf_time()38 ((rem * tc->time_mult) >> tc->time_shift); in tsc_to_perf_time()51 tc->time_shift = pc->time_shift; in perf_read_tsc_conversion()99 event.time_conv.time_shift = tc.time_shift; in perf_event__synth_time_conv()
8 u16 time_shift; member
372 struct perf_tsc_conversion tc = { .time_shift = 0, }; in convert_timestamp()378 tc.time_shift = time_conv->time_shift; in convert_timestamp()
881 bts->tc.time_shift = auxtrace_info->priv[INTEL_BTS_TIME_SHIFT]; in intel_bts_process_auxtrace_info()
916 return (quot << pt->tc.time_shift) + (rem << pt->tc.time_shift) / in intel_pt_ns_to_ticks()3353 pt->tc.time_shift = auxtrace_info->priv[INTEL_PT_TIME_SHIFT]; in intel_pt_process_auxtrace_info()
951 event->time_conv.time_shift = bswap_64(event->time_conv.time_shift); in perf_event__time_conv_swap()
40 u32 seq, idx, time_mult = 0, time_shift = 0; in mmap_read_self() local53 time_shift = pc->time_shift; in mmap_read_self()68 quot = (cyc >> time_shift); in mmap_read_self()69 rem = cyc & (((u64)1 << time_shift) - 1); in mmap_read_self()71 ((rem * time_mult) >> time_shift); in mmap_read_self()
336 __u64 time_shift; member
1276 userpg->time_shift = rd->shift; in device_initcall()1299 if (userpg->time_shift == 32) { in device_initcall()1300 userpg->time_shift = 31; in device_initcall()
578 __u16 time_shift; member
305 __u16 time_shift; member
270 __u16 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()
2521 userpg->time_shift = data.cyc2ns_shift; in arch_perf_update_userpage()