Lines Matching defs:buckets
88 * Requests latencies are recorded in a histogram with buckets defined relative
102 * The width of the latency histogram buckets is
107 * The first (1 << KYBER_LATENCY_SHIFT) buckets are <= target latency,
111 /* There are also (1 << KYBER_LATENCY_SHIFT) "bad" buckets. */
134 atomic_t buckets[KYBER_OTHER][2][KYBER_LATENCY_BUCKETS];
211 unsigned int *buckets = kqd->latency_buckets[sched_domain][type];
212 atomic_t *cpu_buckets = cpu_latency->buckets[sched_domain][type];
216 buckets[bucket] += atomic_xchg(&cpu_buckets[bucket], 0);
227 unsigned int *buckets = kqd->latency_buckets[sched_domain][type];
231 samples += buckets[bucket];
250 if (buckets[bucket] >= percentile_samples)
252 percentile_samples -= buckets[bucket];
254 memset(buckets, 0, sizeof(kqd->latency_buckets[sched_domain][type]));
624 atomic_inc(&cpu_latency->buckets[sched_domain][type][bucket]);