Home
last modified time | relevance | path

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

/block/
Dkyber-iosched.c230 unsigned int bucket, samples = 0, percentile_samples; in calculate_percentile() local
233 samples += buckets[bucket]; in calculate_percentile()
235 if (!samples) in calculate_percentile()
244 if (samples < 500 && in calculate_percentile()
250 percentile_samples = DIV_ROUND_UP(samples * percentile, 100); in calculate_percentile()
260 bucket + 1, 1 << KYBER_LATENCY_SHIFT, samples); in calculate_percentile()
Dblk-throttle.c193 int samples; member
2129 tmp->samples += bucket[i].samples; in throtl_update_latency_buckets()
2131 bucket[i].samples = 0; in throtl_update_latency_buckets()
2134 if (tmp->samples >= 32) { in throtl_update_latency_buckets()
2135 int samples = tmp->samples; in throtl_update_latency_buckets() local
2140 tmp->samples = 0; in throtl_update_latency_buckets()
2141 latency[rw] /= samples; in throtl_update_latency_buckets()
2341 latency[index].samples++; in throtl_track_latency()
Dbfq-cgroup.c1241 u64 samples = bfq_stat_read(&bfqg->stats.avg_queue_size_samples); in bfqg_prfill_avg_queue_size() local
1244 if (samples) { in bfqg_prfill_avg_queue_size()
1246 v = div64_u64(v, samples); in bfqg_prfill_avg_queue_size()
Dbfq-iosched.c440 #define bfq_sample_valid(samples) ((samples) > 80) argument