Lines Matching refs:period
1857 size += sizeof(data->period); in __perf_event_header_size()
4067 s64 period, sample_period; in perf_adjust_period() local
4070 period = perf_calculate_period(event, nsec, count); in perf_adjust_period()
4072 delta = (s64)(period - hwc->sample_period); in perf_adjust_period()
4103 u64 now, period = TICK_NSEC; in perf_adjust_freq_unthr_context() local
4154 perf_adjust_period(event, period, delta, false); in perf_adjust_freq_unthr_context()
7137 perf_output_put(handle, data->period); in perf_output_sample()
9451 u64 period = hwc->last_period; in perf_swevent_set_period() local
9462 nr = div64_u64(period + val, period); in perf_swevent_set_period()
9463 offset = nr * period; in perf_swevent_set_period()
9512 data->period = nr; in perf_swevent_event()
9515 data->period = event->hw.last_period; in perf_swevent_event()
10803 u64 period; in perf_swevent_hrtimer() local
10821 period = max_t(u64, 10000, event->hw.sample_period); in perf_swevent_hrtimer()
10822 hrtimer_forward_now(hrtimer, ns_to_ktime(period)); in perf_swevent_hrtimer()
10830 s64 period; in perf_swevent_start_hrtimer() local
10835 period = local64_read(&hwc->period_left); in perf_swevent_start_hrtimer()
10836 if (period) { in perf_swevent_start_hrtimer()
10837 if (period < 0) in perf_swevent_start_hrtimer()
10838 period = 10000; in perf_swevent_start_hrtimer()
10842 period = max_t(u64, 10000, hwc->sample_period); in perf_swevent_start_hrtimer()
10844 hrtimer_start(&hwc->hrtimer, ns_to_ktime(period), in perf_swevent_start_hrtimer()