Home
last modified time | relevance | path

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

/block/
Dkyber-iosched.c233 unsigned int bucket, samples = 0, percentile_samples; in calculate_percentile() local
236 samples += buckets[bucket]; in calculate_percentile()
238 if (!samples) in calculate_percentile()
247 if (samples < 500 && in calculate_percentile()
253 percentile_samples = DIV_ROUND_UP(samples * percentile, 100); in calculate_percentile()
263 bucket + 1, 1 << KYBER_LATENCY_SHIFT, samples); in calculate_percentile()
Dblk-throttle.c193 int samples; member
2135 tmp->samples += bucket[i].samples; in throtl_update_latency_buckets()
2137 bucket[i].samples = 0; in throtl_update_latency_buckets()
2140 if (tmp->samples >= 32) { in throtl_update_latency_buckets()
2141 int samples = tmp->samples; in throtl_update_latency_buckets() local
2146 tmp->samples = 0; in throtl_update_latency_buckets()
2147 latency[rw] /= samples; in throtl_update_latency_buckets()
2347 latency[index].samples++; in throtl_track_latency()
Dbfq-cgroup.c1251 u64 samples = bfq_stat_read(&bfqg->stats.avg_queue_size_samples); in bfqg_prfill_avg_queue_size() local
1254 if (samples) { in bfqg_prfill_avg_queue_size()
1256 v = div64_u64(v, samples); in bfqg_prfill_avg_queue_size()
Dbfq-iosched.c481 #define bfq_sample_valid(samples) ((samples) > 80) argument