Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/cpuidle/governors/
H A Dteo.c96 * @time_span_ns: Time between idle state selection and post-wakeup update.
103 u64 time_span_ns; member
123 if (cpu_data->time_span_ns >= cpu_data->sleep_length_ns) { in teo_update()
137 * for that instead of time_span_ns which includes the cpuidle in teo_update()
255 cpu_data->time_span_ns = local_clock(); in teo_select()
456 cpu_data->time_span_ns = cpu_data->sleep_length_ns; in teo_reflect()
458 cpu_data->time_span_ns = local_clock() - cpu_data->time_span_ns; in teo_reflect()
/kernel/linux/linux-6.6/drivers/cpuidle/governors/
H A Dteo.c184 * @time_span_ns: Time between idle state selection and post-wakeup update.
194 s64 time_span_ns; member
235 if (cpu_data->time_span_ns >= cpu_data->sleep_length_ns) { in teo_update()
249 * for that instead of time_span_ns which includes the cpuidle in teo_update()
398 cpu_data->time_span_ns = local_clock(); in teo_select()
655 cpu_data->time_span_ns = cpu_data->sleep_length_ns; in teo_reflect()
657 cpu_data->time_span_ns = local_clock() - cpu_data->time_span_ns; in teo_reflect()

Completed in 3 milliseconds