Lines Matching full:hits

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