Home
last modified time | relevance | path

Searched refs:DECAY_SHIFT (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/cpuidle/governors/
H A Dteo.c55 * The PULSE value is added to metrics when they grow and the DECAY_SHIFT value
59 #define DECAY_SHIFT 3 macro
160 cpu_data->states[i].early_hits -= early_hits >> DECAY_SHIFT; in teo_update()
181 hits -= hits >> DECAY_SHIFT; in teo_update()
182 misses -= misses >> DECAY_SHIFT; in teo_update()
/kernel/linux/linux-6.6/drivers/cpuidle/governors/
H A Dteo.c158 * The PULSE value is added to metrics when they grow and the DECAY_SHIFT value
162 #define DECAY_SHIFT 3 macro
275 bin->hits -= bin->hits >> DECAY_SHIFT; in teo_update()
276 bin->intercepts -= bin->intercepts >> DECAY_SHIFT; in teo_update()
303 cpu_data->tick_hits -= cpu_data->tick_hits >> DECAY_SHIFT; in teo_update()

Completed in 3 milliseconds