Home
last modified time | relevance | path

Searched refs:timeNow (Results 1 – 4 of 4) sorted by relevance

/base/telephony/call_manager/services/call_manager_service/src/
Dcall_manager_service.cpp105 struct tm *timeNow = nullptr; in OnStart() local
111 timeNow = localtime_r(&second, &nowTime); in OnStart()
112 if (timeNow != nullptr) { in OnStart()
116timeNow->tm_year + startTime_, timeNow->tm_mon + extraMonth_, timeNow->tm_mday, timeNow->tm_hour, in OnStart()
117 timeNow->tm_min, timeNow->tm_sec); in OnStart()
125 struct tm *timeNow = nullptr; in OnStop() local
131 timeNow = localtime_r(&second, &nowTime); in OnStop()
132 if (timeNow != nullptr) { in OnStop()
135timeNow->tm_year + startTime_, timeNow->tm_mon + extraMonth_, timeNow->tm_mday, timeNow->tm_hour, in OnStop()
136 timeNow->tm_min, timeNow->tm_sec); in OnStop()
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
Dasan_collector.cpp215 time_t timeNow = time(nullptr); in SetHappenTime() local
216 uint64_t timeTmp = timeNow; in SetHappenTime()
/base/msdp/device_status/utils/common/src/
Dutil.cpp77 …auto timeNow = std::chrono::time_point_cast<std::chrono::milliseconds>(std::chrono::steady_clock::… in GetMillisTime() local
78 auto tmp = std::chrono::duration_cast<std::chrono::milliseconds>(timeNow.time_since_epoch()); in GetMillisTime()
/base/time/time_service/services/timer/src/
Dtimer_manager.cpp470 int64_t timeNow = -1; in GetBootTimeNs() local
475 timeNow = tv.tv_sec * NANO_TO_SECOND + tv.tv_nsec; in GetBootTimeNs()
476 steady_clock::time_point tp_epoch ((nanoseconds(timeNow))); in GetBootTimeNs()