Searched refs:peak_rate_samples (Results 1 – 2 of 2) sorted by relevance
3290 bfqd->peak_rate_samples = 1; in bfq_reset_rate_computation()3295 bfqd->peak_rate_samples = 0; /* full re-init on next disp. */ in bfq_reset_rate_computation()3299 bfqd->peak_rate_samples, bfqd->sequential_samples, in bfq_reset_rate_computation()3315 if (bfqd->peak_rate_samples < BFQ_RATE_MIN_SAMPLES || in bfq_update_rate_reset()3342 if ((bfqd->sequential_samples < (3 * bfqd->peak_rate_samples)>>2 && in bfq_update_rate_reset()3370 weight = (9 * bfqd->sequential_samples) / bfqd->peak_rate_samples; in bfq_update_rate_reset()3448 if (bfqd->peak_rate_samples == 0) { /* first dispatch */ in bfq_update_peak_rate()3450 bfqd->peak_rate_samples); in bfq_update_peak_rate()3472 bfqd->peak_rate_samples++; in bfq_update_peak_rate()3482 if (likely(bfqd->peak_rate_samples % 32)) in bfq_update_peak_rate()
629 int peak_rate_samples; member