Home
last modified time | relevance | path

Searched refs:delta_next (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/cpuidle/governors/
Dmenu.c274 ktime_t delta_next; in menu_select() local
283 data->next_timer_ns = tick_nohz_get_sleep_length(&delta_next); in menu_select()
321 predicted_ns = delta_next; in menu_select()
380 s->target_residency_ns <= delta_next) in menu_select()
402 if (idx > 0 && drv->states[idx].target_residency_ns > delta_next) { in menu_select()
414 if (drv->states[i].target_residency_ns <= delta_next) in menu_select()
/kernel/linux/linux-5.10/include/linux/
Dtick.h137 extern ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next);
165 static inline ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next) in tick_nohz_get_sleep_length() argument
167 *delta_next = TICK_NSEC; in tick_nohz_get_sleep_length()
168 return *delta_next; in tick_nohz_get_sleep_length()
/kernel/linux/linux-5.10/kernel/time/
Dtick-sched.c1080 ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next) in tick_nohz_get_sleep_length() argument
1094 *delta_next = ktime_sub(dev->next_event, now); in tick_nohz_get_sleep_length()
1097 return *delta_next; in tick_nohz_get_sleep_length()
1101 return *delta_next; in tick_nohz_get_sleep_length()