Home
last modified time | relevance | path

Searched refs:MILLISEC_TO_NANOSEC (Results 1 - 5 of 5) sorted by relevance

/base/security/device_security_level/baselib/utils/src/
H A Dutils_datetime.c27 #define MILLISEC_TO_NANOSEC 1000000 macro
39 result = (uint64_t)(ts.tv_sec * SEC_TO_MILLISEC + ts.tv_nsec / MILLISEC_TO_NANOSEC); in GetMillisecondSinceBoot()
52 return ts.tv_sec * SEC_TO_MILLISEC + ts.tv_nsec / MILLISEC_TO_NANOSEC; in GetMillisecondSince1970()
/base/hiviewdfx/hiview/base/utility/include/
H A Dtime_util.h29 constexpr int64_t MILLISEC_TO_NANOSEC = 1000000; member
/base/hiviewdfx/hicollie/frameworks/native/
H A Dwatchdog_inner.cpp58 constexpr int MILLISEC_TO_NANOSEC = 1000000; member
181 "BEGIN_TIME", timeContent_.reportBegin / MILLISEC_TO_NANOSEC, in ReportMainThreadEvent()
182 "END_TIME", timeContent_.reportEnd / MILLISEC_TO_NANOSEC, in ReportMainThreadEvent()
188 "LOG_TIME", GetTimeStamp() / MILLISEC_TO_NANOSEC); in ReportMainThreadEvent()
203 (currentTime - timeContent_.curBegin >= DURATION_TIME * MILLISEC_TO_NANOSEC)) || in CheckEventTimer()
204 (timeContent_.curEnd - timeContent_.curBegin > DURATION_TIME * MILLISEC_TO_NANOSEC); in CheckEventTimer()
383 appCaller_.happenTime = GetTimeStamp() / MILLISEC_TO_NANOSEC; in CollectTrace()
384 appCaller_.beginTime = timeContent_.reportBegin / MILLISEC_TO_NANOSEC; in CollectTrace()
385 appCaller_.endTime = timeContent_.reportEnd / MILLISEC_TO_NANOSEC; in CollectTrace()
/base/hiviewdfx/hiview/base/utility/
H A Dtime_util.cpp152 return static_cast<uint64_t>(ts.tv_sec * SEC_TO_MILLISEC + ts.tv_nsec / MILLISEC_TO_NANOSEC); in GetBootTimeMs()
/base/hiviewdfx/hiview/base/
H A Devent_loop.cpp416 leftTimeMill = (leftTimeNanosecond / static_cast<uint64_t>(TimeUtil::MILLISEC_TO_NANOSEC)); in Run()

Completed in 5 milliseconds