Home
last modified time | relevance | path

Searched refs:MILLISEC_TO_NANOSEC (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/include/
H A Ddatetime_ex.h49 constexpr int64_t MILLISEC_TO_NANOSEC = 1000000; variable
68 return millise * MILLISEC_TO_NANOSEC; in MillisecToNanosec()
92 return nanosec / MILLISEC_TO_NANOSEC; in NanosecToMillisec()
/ohos5.0/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()
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/
H A Dwatchdog_inner.cpp167 "BEGIN_TIME", timeContent_.reportBegin / MILLISEC_TO_NANOSEC, in ReportMainThreadEvent()
168 "END_TIME", timeContent_.reportEnd / MILLISEC_TO_NANOSEC, in ReportMainThreadEvent()
174 "LOG_TIME", GetTimeStamp() / MILLISEC_TO_NANOSEC); in ReportMainThreadEvent()
186 (currentTime - timeContent_.curBegin >= DURATION_TIME * MILLISEC_TO_NANOSEC)) || in CheckEventTimer()
187 (timeContent_.curEnd - timeContent_.curBegin > DURATION_TIME * MILLISEC_TO_NANOSEC); in CheckEventTimer()
421 appCaller_.happenTime = GetTimeStamp() / MILLISEC_TO_NANOSEC; in CollectTrace()
422 appCaller_.beginTime = timeContent_.reportBegin / MILLISEC_TO_NANOSEC; in CollectTrace()
423 appCaller_.endTime = timeContent_.reportEnd / MILLISEC_TO_NANOSEC; in CollectTrace()
H A Dxcollie_utils.h50 constexpr int64_t MILLISEC_TO_NANOSEC = 1000000; variable
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/innerkits/
H A Dhal_tick.h55 static constexpr uint32_t MILLISEC_TO_NANOSEC = 1000000; variable
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/
H A Dhal_tick.cpp42 return time.tv_sec * SEC_TO_MILLISEC + time.tv_nsec / MILLISEC_TO_NANOSEC; in GetTime()
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dtime_util.h29 constexpr int64_t MILLISEC_TO_NANOSEC = 1000000; variable
/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_util.cpp36 constexpr int64_t MILLISEC_TO_NANOSEC = 1000000; variable
156 return (ts.tv_sec * SEC_TO_MILLISEC + ts.tv_nsec / MILLISEC_TO_NANOSEC); in GetCurrentMillisecond()
/ohos5.0/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()
/ohos5.0/base/hiviewdfx/hiview/base/
H A Devent_loop.cpp416 … leftTimeMill = (leftTimeNanosecond / static_cast<uint64_t>(TimeUtil::MILLISEC_TO_NANOSEC)); in Run()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Drender_water_flow.cpp33 constexpr int64_t MILLISEC_TO_NANOSEC = 1000000; variable
34 constexpr int64_t TIME_THRESHOLD = 3 * MILLISEC_TO_NANOSEC; // milliseconds