Searched refs:samples (Results 1 – 4 of 4) sorted by relevance
230 unsigned int bucket, samples = 0, percentile_samples; in calculate_percentile() local233 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()
193 int samples; member2129 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() local2140 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()
1241 u64 samples = bfq_stat_read(&bfqg->stats.avg_queue_size_samples); in bfqg_prfill_avg_queue_size() local1244 if (samples) { in bfqg_prfill_avg_queue_size()1246 v = div64_u64(v, samples); in bfqg_prfill_avg_queue_size()
440 #define bfq_sample_valid(samples) ((samples) > 80) argument