Searched refs:measured_ns (Results 1 – 2 of 2) sorted by relevance
455 u64 measured_ns; in menu_update() local483 measured_ns = 9 * MAX_INTERESTING / 10; in menu_update()493 measured_ns = data->next_timer_ns; in menu_update()496 measured_ns = dev->last_residency_ns; in menu_update()499 if (measured_ns > 2 * target->exit_latency_ns) in menu_update()500 measured_ns -= target->exit_latency_ns; in menu_update()502 measured_ns /= 2; in menu_update()506 if (measured_ns > data->next_timer_ns) in menu_update()507 measured_ns = data->next_timer_ns; in menu_update()513 if (data->next_timer_ns > 0 && measured_ns < MAX_INTERESTING) in menu_update()[all …]
164 u64 measured_ns; in teo_update() local172 measured_ns = U64_MAX; in teo_update()183 measured_ns = dev->last_residency_ns; in teo_update()190 if (measured_ns >= lat_ns) in teo_update()191 measured_ns -= lat_ns / 2; in teo_update()193 measured_ns /= 2; in teo_update()214 if (target_residency_ns <= measured_ns) in teo_update()