Lines Matching refs:now_ms
137 static uint64_t now_ms(void);
149 static void update_scheduling_stats(alarm_stats_t* stats, uint64_t now_ms,
204 uint64_t just_now_ms = now_ms(); in alarm_get_remaining_ms()
234 alarm->creation_time_ms = now_ms(); in alarm_set_internal()
391 static uint64_t now_ms(void) { in now_ms() function
429 uint64_t just_now_ms = now_ms(); in schedule_next_instance()
475 next_expiration = next->deadline_ms - now_ms(); in reschedule_root_alarm()
596 update_scheduling_stats(&alarm->stats, now_ms(), deadline_ms); in alarm_ready_generic()
638 now_ms()) { in callback_dispatch()
706 static void update_scheduling_stats(alarm_stats_t* stats, uint64_t now_ms, in update_scheduling_stats() argument
709 stats->last_update_ms = now_ms; in update_scheduling_stats()
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()
741 uint64_t just_now_ms = now_ms(); in alarm_debug_dump()