Lines Matching refs:deadline_ms
97 uint64_t deadline_ms; member
150 uint64_t deadline_ms);
207 if (alarm->deadline_ms > just_now_ms) in alarm_get_remaining_ms()
208 remaining_ms = alarm->deadline_ms - just_now_ms; in alarm_get_remaining_ms()
268 alarm->deadline_ms = 0; in alarm_cancel_internal()
431 alarm->deadline_ms = just_now_ms + (alarm->period_ms - ms_into_period); in schedule_next_instance()
435 ((alarm_t*)list_front(alarms))->deadline_ms > alarm->deadline_ms) { in schedule_next_instance()
442 ((alarm_t*)list_node(next))->deadline_ms > alarm->deadline_ms) { in schedule_next_instance()
472 next_expiration = next->deadline_ms - now_ms(); in reschedule_root_alarm()
481 timer_time.it_value.tv_sec = (next->deadline_ms / 1000); in reschedule_root_alarm()
482 timer_time.it_value.tv_nsec = (next->deadline_ms % 1000) * 1000000LL; in reschedule_root_alarm()
507 wakeup_time.it_value.tv_sec = (next->deadline_ms / 1000); in reschedule_root_alarm()
508 wakeup_time.it_value.tv_nsec = (next->deadline_ms % 1000) * 1000000LL; in reschedule_root_alarm()
573 uint64_t deadline_ms = alarm->deadline_ms; in alarm_ready_generic() local
577 deadline_ms = alarm->prev_deadline_ms; in alarm_ready_generic()
579 alarm->deadline_ms = 0; in alarm_ready_generic()
592 update_scheduling_stats(&alarm->stats, now_ms(), deadline_ms); in alarm_ready_generic()
633 (alarm = static_cast<alarm_t*>(list_front(alarms)))->deadline_ms > in callback_dispatch()
642 alarm->prev_deadline_ms = alarm->deadline_ms; in callback_dispatch()
703 uint64_t deadline_ms) { in update_scheduling_stats() argument
707 if (deadline_ms < now_ms) { in update_scheduling_stats()
709 uint64_t delta_ms = now_ms - deadline_ms; in update_scheduling_stats()
711 } else if (deadline_ms > now_ms) { in update_scheduling_stats()
713 uint64_t delta_ms = deadline_ms - now_ms; in update_scheduling_stats()
763 (long long)(alarm->deadline_ms - just_now_ms)); in alarm_debug_dump()