Home
last modified time | relevance | path

Searched refs:measured_ns (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/cpuidle/governors/
Dmenu.c466 u64 measured_ns; in menu_update() local
494 measured_ns = 9 * MAX_INTERESTING / 10; in menu_update()
504 measured_ns = data->next_timer_ns; in menu_update()
507 measured_ns = dev->last_residency_ns; in menu_update()
510 if (measured_ns > 2 * target->exit_latency_ns) in menu_update()
511 measured_ns -= target->exit_latency_ns; in menu_update()
513 measured_ns /= 2; in menu_update()
517 if (measured_ns > data->next_timer_ns) in menu_update()
518 measured_ns = data->next_timer_ns; in menu_update()
524 if (data->next_timer_ns > 0 && measured_ns < MAX_INTERESTING) in menu_update()
[all …]
Dteo.c233 u64 measured_ns; in teo_update() local
241 measured_ns = U64_MAX; in teo_update()
252 measured_ns = dev->last_residency_ns; in teo_update()
259 if (measured_ns >= lat_ns) in teo_update()
260 measured_ns -= lat_ns / 2; in teo_update()
262 measured_ns /= 2; in teo_update()
284 if (target_residency_ns <= measured_ns) in teo_update()
309 if (TICK_NSEC <= measured_ns) { in teo_update()