Home
last modified time | relevance | path

Searched refs:hwc (Results 1 – 1 of 1) sorted by relevance

/kernel/events/
Dcore.c4146 struct hw_perf_event *hwc = &event->hw; in perf_adjust_period() local
4152 delta = (s64)(period - hwc->sample_period); in perf_adjust_period()
4155 sample_period = hwc->sample_period + delta; in perf_adjust_period()
4160 hwc->sample_period = sample_period; in perf_adjust_period()
4162 if (local64_read(&hwc->period_left) > 8*sample_period) { in perf_adjust_period()
4166 local64_set(&hwc->period_left, 0); in perf_adjust_period()
4182 struct hw_perf_event *hwc; in perf_adjust_freq_unthr_context() local
4206 hwc = &event->hw; in perf_adjust_freq_unthr_context()
4208 if (hwc->interrupts == MAX_INTERRUPTS) { in perf_adjust_freq_unthr_context()
4209 hwc->interrupts = 0; in perf_adjust_freq_unthr_context()
[all …]