Lines Matching defs:bin
41 * the first bin spans from 0 up to, but not including, the target residency of
42 * the second idle state (idle state 1), the second bin spans from the target
44 * idle state 2, the third bin spans from the target residency of idle state 2
46 * The last bin spans from the target residency of the deepest idle state
49 * Two metrics called "hits" and "intercepts" are associated with each bin.
55 * same bin (that is, the CPU appears to wake up "on time" relative to the sleep
58 * sleep length that the bin it falls into corresponds to an idle state
59 * shallower than the one whose bin is fallen into by the sleep length (these
64 * %NR_RECENT invocations of it for the given CPU) for each bin.
248 * duration fall into the same "bin", so use last_residency_ns
273 struct teo_bin *bin = &cpu_data->state_bins[i];
275 bin->hits -= bin->hits >> DECAY_SHIFT;
276 bin->intercepts -= bin->intercepts >> DECAY_SHIFT;
278 cpu_data->total += bin->hits + bin->intercepts;
299 * to stop the tick. This effectively adds an extra hits-only bin
317 * If the measured idle duration falls into the same bin as the sleep
318 * length, this is a "hit", so update the "hits" metric for that bin.
319 * Otherwise, update the "intercepts" metric for the bin fallen into by
515 struct teo_bin *bin = &cpu_data->state_bins[i];
517 intercept_sum += bin->intercepts;
518 recent_sum += bin->recent;