Lines Matching defs:hits
70 * @hits: "On time" CPU wakeups "matching" this state.
90 unsigned int hits;
154 * Decay the "early hits" metric for all of the states and find the
170 * Update the "hits" and "misses" data for the state matching the sleep
172 * so increase the "hits" metric for it then. Otherwise, this is a
174 * also increase the "early hits" metric for the state that actually
178 unsigned int hits = cpu_data->states[idx_timer].hits;
181 hits -= hits >> DECAY_SHIFT;
189 hits += PULSE;
193 cpu_data->states[idx_timer].hits = hits;
246 unsigned int hits, misses, early_hits;
260 hits = 0;
282 * candidate state, but still the "hits" and "misses"
287 hits = cpu_data->states[i].hits;
296 * the maximum "early hits" metric so far, the "early
297 * hits" metric of the disabled state replaces the
298 * current "early hits" count to avoid selecting a
299 * deeper state with lower "early hits" metric.
308 * one than the current maximum "early hits" state, so
310 * "early hits" state index has not been set so far,
325 hits = cpu_data->states[i].hits;
336 hits = cpu_data->states[i].hits;
348 * If the "hits" metric of the idle state matching the sleep length is
352 * "early hits" metric, but if that cannot be determined, just use the
355 if (hits <= misses) {
358 * whose "early hits" metric is the maximum for the range of