Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/cpuidle/governors/
H A Dteo.c120 int i, idx_hit = -1, idx_timer = -1; in teo_update() local
163 idx_timer = i; in teo_update()
177 if (idx_timer >= 0) { in teo_update()
178 unsigned int hits = cpu_data->states[idx_timer].hits; in teo_update()
179 unsigned int misses = cpu_data->states[idx_timer].misses; in teo_update()
184 if (idx_timer > idx_hit) { in teo_update()
192 cpu_data->states[idx_timer].misses = misses; in teo_update()
193 cpu_data->states[idx_timer].hits = hits; in teo_update()
/kernel/linux/linux-6.6/drivers/cpuidle/governors/
H A Dteo.c231 int i, idx_timer = 0, idx_duration = 0; in teo_update() local
283 idx_timer = i; in teo_update()
308 idx_timer = drv->state_count; in teo_update()
322 if (idx_timer == idx_duration) { in teo_update()
323 cpu_data->state_bins[idx_timer].hits += PULSE; in teo_update()

Completed in 3 milliseconds