Home
last modified time | relevance | path

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

/ohos5.0/base/time/time_service/utils/native/src/
H A Dtime_common.cpp24 static const int NANO_TO_SEC = 1000000000LL; variable
25 constexpr int32_t NANO_TO_MILLI = NANO_TO_SEC / MILLI_TO_SEC;
46 time = tv.tv_sec * NANO_TO_SEC + tv.tv_nsec; in GetBootTimeNs()
/ohos5.0/base/time/time_service/interfaces/inner_api/src/
H A Dtime_service_client.cpp32 static const int NANO_TO_SEC = 1000000000LL; variable
33 constexpr int32_t NANO_TO_MILLI = NANO_TO_SEC / MILLI_TO_SEC;
507 time = tv.tv_sec * NANO_TO_SEC + tv.tv_nsec; in GetWallTimeNs()
519 time = tv.tv_sec * NANO_TO_SEC + tv.tv_nsec; in GetWallTimeNs()
557 time = tv.tv_sec * NANO_TO_SEC + tv.tv_nsec; in GetBootTimeNs()
569 time = tv.tv_sec * NANO_TO_SEC + tv.tv_nsec; in GetBootTimeNs()
607 time = tv.tv_sec * NANO_TO_SEC + tv.tv_nsec; in GetMonotonicTimeNs()
619 time = tv.tv_sec * NANO_TO_SEC + tv.tv_nsec; in GetMonotonicTimeNs()