Searched refs:now_ms (Results 1 – 2 of 2) sorted by relevance
277 const period_ms_t now_ms = now(); in update_wakelock_acquired_stats() local293 wakelock_stats.last_acquired_timestamp_ms = now_ms; in update_wakelock_acquired_stats()297 metrics_log_wake_event(WAKE_EVENT_ACQUIRED, "", "", now_ms); in update_wakelock_acquired_stats()309 const period_ms_t now_ms = now(); in update_wakelock_released_stats() local325 wakelock_stats.last_released_timestamp_ms = now_ms; in update_wakelock_released_stats()328 period_ms_t delta_ms = now_ms - wakelock_stats.last_acquired_timestamp_ms; in update_wakelock_released_stats()341 metrics_log_wake_event(WAKE_EVENT_RELEASED, "", "", now_ms); in update_wakelock_released_stats()345 const period_ms_t now_ms = now(); in wakelock_debug_dump() local359 delta_ms = now_ms - wakelock_stats.last_acquired_timestamp_ms; in wakelock_debug_dump()389 (unsigned long long)(now_ms - wakelock_stats.last_reset_timestamp_ms)); in wakelock_debug_dump()
138 period_ms_t now_ms,697 period_ms_t now_ms, in update_scheduling_stats() argument702 stats->last_update_ms = now_ms; in update_scheduling_stats()706 if (deadline_ms < now_ms) { in update_scheduling_stats()708 period_ms_t delta_ms = now_ms - deadline_ms; in update_scheduling_stats()710 } else if (deadline_ms > now_ms) { in update_scheduling_stats()712 period_ms_t delta_ms = deadline_ms - now_ms; in update_scheduling_stats()