Lines Matching refs:now_ms
135 static uint64_t now_ms(void);
147 static void update_scheduling_stats(alarm_stats_t* stats, uint64_t now_ms,
203 uint64_t just_now_ms = now_ms(); in alarm_get_remaining_ms()
233 alarm->creation_time_ms = now_ms(); in alarm_set_internal()
388 static uint64_t now_ms(void) { in now_ms() function
425 uint64_t just_now_ms = now_ms(); in schedule_next_instance()
471 next_expiration = next->deadline_ms - now_ms(); in reschedule_root_alarm()
591 update_scheduling_stats(&alarm->stats, now_ms(), deadline_ms); in alarm_ready_generic()
633 now_ms()) { in callback_dispatch()
700 static void update_scheduling_stats(alarm_stats_t* stats, uint64_t now_ms, in update_scheduling_stats() argument
703 stats->last_update_ms = now_ms; in update_scheduling_stats()
705 if (deadline_ms < now_ms) { in update_scheduling_stats()
707 uint64_t delta_ms = now_ms - deadline_ms; in update_scheduling_stats()
709 } else if (deadline_ms > now_ms) { in update_scheduling_stats()
711 uint64_t delta_ms = deadline_ms - now_ms; in update_scheduling_stats()
735 uint64_t just_now_ms = now_ms(); in alarm_debug_dump()