Searched refs:hwc (Results 1 – 1 of 1) sorted by relevance
3697 struct hw_perf_event *hwc = &event->hw; in perf_adjust_period() local3703 delta = (s64)(period - hwc->sample_period); in perf_adjust_period()3706 sample_period = hwc->sample_period + delta; in perf_adjust_period()3711 hwc->sample_period = sample_period; in perf_adjust_period()3713 if (local64_read(&hwc->period_left) > 8*sample_period) { in perf_adjust_period()3717 local64_set(&hwc->period_left, 0); in perf_adjust_period()3733 struct hw_perf_event *hwc; in perf_adjust_freq_unthr_context() local3757 hwc = &event->hw; in perf_adjust_freq_unthr_context()3759 if (hwc->interrupts == MAX_INTERRUPTS) { in perf_adjust_freq_unthr_context()3760 hwc->interrupts = 0; in perf_adjust_freq_unthr_context()[all …]