Searched refs:GetTimeByClockId (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/time/time_service/utils/native/src/ |
H A D | time_common.cpp | 31 if (!GetTimeByClockId(CLOCK_REALTIME, tv)) { in GetWallTimeMs() 42 if (!GetTimeByClockId(CLOCK_BOOTTIME, tv)) { in GetBootTimeNs() 53 if (!GetTimeByClockId(CLOCK_BOOTTIME, tv)) { in GetBootTimeMs() 61 bool TimeUtils::GetTimeByClockId(clockid_t clockId, struct timespec &tv) in GetTimeByClockId() function in OHOS::MiscServices::TimeUtils
|
/ohos5.0/base/time/time_service/interfaces/inner_api/src/ |
H A D | time_service_client.cpp | 478 if (!GetTimeByClockId(CLOCK_REALTIME, tv)) { in GetWallTimeMs() 490 if (!GetTimeByClockId(CLOCK_REALTIME, tv)) { in GetWallTimeMs() 503 if (!GetTimeByClockId(CLOCK_REALTIME, tv)) { in GetWallTimeNs() 515 if (!GetTimeByClockId(CLOCK_REALTIME, tv)) { in GetWallTimeNs() 528 if (!GetTimeByClockId(CLOCK_BOOTTIME, tv)) { in GetBootTimeMs() 540 if (!GetTimeByClockId(CLOCK_BOOTTIME, tv)) { in GetBootTimeMs() 553 if (!GetTimeByClockId(CLOCK_BOOTTIME, tv)) { in GetBootTimeNs() 565 if (!GetTimeByClockId(CLOCK_BOOTTIME, tv)) { in GetBootTimeNs() 578 if (!GetTimeByClockId(CLOCK_MONOTONIC, tv)) { in GetMonotonicTimeMs() 590 if (!GetTimeByClockId(CLOCK_MONOTONIC, tv)) { in GetMonotonicTimeMs() [all …]
|
/ohos5.0/base/time/time_service/utils/native/include/ |
H A D | time_common.h | 74 static bool GetTimeByClockId(clockid_t clockId, struct timespec &tv);
|
/ohos5.0/base/time/time_service/services/ |
H A D | time_system_ability.cpp | 495 if (GetTimeByClockId(CLOCK_BOOTTIME, ts)) { in DumpAllTimeInfo() 719 if (GetTimeByClockId(cid, tv)) { in GetThreadTimeMs() 734 if (GetTimeByClockId(cid, tv)) { in GetThreadTimeNs() 741 bool TimeSystemAbility::GetTimeByClockId(clockid_t clockId, struct timespec &tv) in GetTimeByClockId() function in OHOS::MiscServices::TimeSystemAbility
|
H A D | time_system_ability.h | 105 bool GetTimeByClockId(clockid_t clockId, struct timespec &tv);
|
/ohos5.0/base/time/time_service/interfaces/inner_api/include/ |
H A D | time_service_client.h | 477 bool GetTimeByClockId(clockid_t clockId, struct timespec &tv);
|