Searched refs:sample_period (Results 1 – 2 of 2) sorted by relevance
35 static u64 __read_mostly sample_period; variable135 sample_period = get_softlockup_thresh() * ((u64)NSEC_PER_SEC / 5); in set_sample_period()356 hrtimer_forward_now(hrtimer, ns_to_ktime(sample_period)); in watchdog_timer_fn()437 hrtimer_start(hrtimer, ns_to_ktime(sample_period), in watchdog_enable()498 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in watchdog_nmi_enable()
2559 s64 period, sample_period; in perf_adjust_period() local2564 delta = (s64)(period - hwc->sample_period); in perf_adjust_period()2567 sample_period = hwc->sample_period + delta; in perf_adjust_period()2569 if (!sample_period) in perf_adjust_period()2570 sample_period = 1; in perf_adjust_period()2572 hwc->sample_period = sample_period; in perf_adjust_period()2574 if (local64_read(&hwc->period_left) > 8*sample_period) { in perf_adjust_period()3413 event->attr.sample_period = value; in perf_event_period()3414 event->hw.sample_period = value; in perf_event_period()5195 hwc->last_period = hwc->sample_period; in perf_swevent_set_period()[all …]