Searched refs:SEC_TO_MILLISEC (Results 1 – 11 of 11) sorted by relevance
26 #define SEC_TO_MILLISEC 1000 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()61 time_t time = (time_t)(input / SEC_TO_MILLISEC); in GetDateTimeByMillisecondSince1970()70 datetime->msec = (uint16_t)(input % SEC_TO_MILLISEC); in GetDateTimeByMillisecondSince1970()
34 constexpr uint64_t SEC_TO_MILLISEC = 1000; variable87 return screenTime * SEC_TO_MILLISEC; in GetScreenTime()
52 return millisecs.count() % SEC_TO_MILLISEC; in GetMillSecOfSec()101 zero = std::mktime(l) * SEC_TO_MILLISEC; // time is 00:00:00 in Get0ClockStampMs()130 std::time_t tt = static_cast<std::time_t>(timestamp / SEC_TO_MILLISEC); in FormatTime()
163 uint64_t endTime = TimeUtil::GetMilliseconds() + maxWaitingTime * TimeUtil::SEC_TO_MILLISEC; in WriteCommandResultToFile()
29 constexpr int64_t SEC_TO_MILLISEC = 1000; variable
155 uint64_t logTime = event->happenTime_ / TimeUtil::SEC_TO_MILLISEC; in Getfile()200 uint64_t startTime = start / TimeUtil::SEC_TO_MILLISEC; in StartLogCollect()202 startTimeStr += ":" + std::to_string(start % TimeUtil::SEC_TO_MILLISEC); in StartLogCollect()225 auto logTime = TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC; in GetHitraceName()315 uint64_t logTime = event->happenTime_ / TimeUtil::SEC_TO_MILLISEC; in WriteCommonHead()316 uint64_t logTimeMs = event->happenTime_ % TimeUtil::SEC_TO_MILLISEC; in WriteCommonHead()
40 timeOutMillSec_ = parameter->GetOpts().timeout_ * SEC_TO_MILLISEC; in DoPreExecute()
101 auto logTime = TimeUtil::GetMilliseconds() / TimeUtil::SEC_TO_MILLISEC; in DmesgSaveTofile()
120 uint64_t timestamp = watchPoint.GetTimestamp() / TimeUtil::SEC_TO_MILLISEC; in DumpEventInfo()126 ":" << watchPoint.GetTimestamp() % TimeUtil::SEC_TO_MILLISEC << std::endl; in DumpEventInfo()
240 constexpr int64_t SEC_TO_MILLISEC = 1000; in AddFaultLog() local241 AddFaultLog(now * SEC_TO_MILLISEC, logType, module, summary); in AddFaultLog()
537 … (std::abs(currentTime - lastTimeStamp) < TimeUtil::SECONDS_PER_HOUR * TimeUtil::SEC_TO_MILLISEC) { in Export()