Home
last modified time | relevance | path

Searched refs:nanoSeconds (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hitrace/cmd/src/
Dhitrace_cmd.cpp710 constexpr unsigned int nanoSeconds = 1000000000; // seconds converted to nanoseconds in MarkOthersClockSync() local
715 static_cast<int64_t>((rts.tv_sec * nanoSeconds + rts.tv_nsec) / nanoToMill)); in MarkOthersClockSync()
726 …static_cast<float>(((static_cast<float>(mts.tv_sec)) * nanoSeconds + mts.tv_nsec) / nanoToSecond)); in MarkOthersClockSync()
/base/update/updater/utils/
Dutils.cpp490 long nanoSeconds = static_cast<long>(usec) % USECONDS_PER_SECONDS * NANOSECS_PER_USECONDS; in UsSleep() local
491 struct timespec ts = { static_cast<time_t>(seconds), nanoSeconds }; in UsSleep()