diff --git a/services/timer/include/timer_manager.h b/services/timer/include/timer_manager.h index 1702c62..b5fcf5d 100644 --- a/services/timer/include/timer_manager.h +++ b/services/timer/include/timer_manager.h @@ -88,6 +88,7 @@ private: std::shared_ptr FindFirstWakeupBatchLocked(); void SetLocked(int type, std::chrono::nanoseconds when); std::chrono::steady_clock::time_point ConvertToElapsed(std::chrono::milliseconds when, int type); + std::chrono::steady_clock::time_point GetBootTimeNs(); void CallbackAlarmIfNeed(std::shared_ptr alarm); std::map> timerEntryMap_;