Searched refs:MILLISEC_TO_NANOSEC (Results 1 – 11 of 11) sorted by relevance
49 constexpr int64_t MILLISEC_TO_NANOSEC = 1000000; variable68 return millise * MILLISEC_TO_NANOSEC; in MillisecToNanosec()92 return nanosec / MILLISEC_TO_NANOSEC; in NanosecToMillisec()
27 #define MILLISEC_TO_NANOSEC 1000000 macro39 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()
167 "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()
50 constexpr int64_t MILLISEC_TO_NANOSEC = 1000000; variable
55 static constexpr uint32_t MILLISEC_TO_NANOSEC = 1000000; variable
42 return time.tv_sec * SEC_TO_MILLISEC + time.tv_nsec / MILLISEC_TO_NANOSEC; in GetTime()
29 constexpr int64_t MILLISEC_TO_NANOSEC = 1000000; variable
36 constexpr int64_t MILLISEC_TO_NANOSEC = 1000000; variable156 return (ts.tv_sec * SEC_TO_MILLISEC + ts.tv_nsec / MILLISEC_TO_NANOSEC); in GetCurrentMillisecond()
152 … return static_cast<uint64_t>(ts.tv_sec * SEC_TO_MILLISEC + ts.tv_nsec / MILLISEC_TO_NANOSEC); in GetBootTimeMs()
416 … leftTimeMill = (leftTimeNanosecond / static_cast<uint64_t>(TimeUtil::MILLISEC_TO_NANOSEC)); in Run()
33 constexpr int64_t MILLISEC_TO_NANOSEC = 1000000; variable34 constexpr int64_t TIME_THRESHOLD = 3 * MILLISEC_TO_NANOSEC; // milliseconds