Home
last modified time | relevance | path

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

/base/time/time_service/interfaces/inner_api/src/
H A Dtime_service_client.cpp31 static const int MILLI_TO_SEC = 1000LL; member
33 constexpr int32_t NANO_TO_MILLI = NANO_TO_SEC / MILLI_TO_SEC;
473 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetWallTimeMs()
485 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetWallTimeMs()
523 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetBootTimeMs()
535 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetBootTimeMs()
573 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetMonotonicTimeMs()
585 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetMonotonicTimeMs()

Completed in 2 milliseconds