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()
434 alarm->deadline_ms = just_now_ms + (alarm->period_ms - ms_into_period); in schedule_next_instance()
438 ((alarm_t*)list_front(alarms))->deadline_ms > alarm->deadline_ms) { in schedule_next_instance()
445 ((alarm_t*)list_node(next))->deadline_ms > alarm->deadline_ms) { in schedule_next_instance()
475 next_expiration = next->deadline_ms - now_ms(); in reschedule_root_alarm()
484 timer_time.it_value.tv_sec = (next->deadline_ms / 1000); in reschedule_root_alarm()
485 timer_time.it_value.tv_nsec = (next->deadline_ms % 1000) * 1000000LL; in reschedule_root_alarm()
510 wakeup_time.it_value.tv_sec = (next->deadline_ms / 1000); in reschedule_root_alarm()
511 wakeup_time.it_value.tv_nsec = (next->deadline_ms % 1000) * 1000000LL; in reschedule_root_alarm()
577 uint64_t deadline_ms = alarm->deadline_ms; in alarm_ready_generic() local
581 deadline_ms = alarm->prev_deadline_ms; in alarm_ready_generic()
583 alarm->deadline_ms = 0; in alarm_ready_generic()
596 update_scheduling_stats(&alarm->stats, now_ms(), deadline_ms); in alarm_ready_generic()
637 (alarm = static_cast<alarm_t*>(list_front(alarms)))->deadline_ms > in callback_dispatch()
646 alarm->prev_deadline_ms = alarm->deadline_ms; in callback_dispatch()
707 uint64_t deadline_ms) { in update_scheduling_stats() argument
711 if (deadline_ms < now_ms) { in update_scheduling_stats()
713 uint64_t delta_ms = now_ms - deadline_ms; in update_scheduling_stats()
715 } else if (deadline_ms > now_ms) { in update_scheduling_stats()
717 uint64_t delta_ms = deadline_ms - now_ms; in update_scheduling_stats()
767 (long long)(alarm->deadline_ms - just_now_ms)); in alarm_debug_dump()