Home
last modified time | relevance | path

Searched refs:GetTimeByClockId (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/time/time_service/utils/native/src/
H A Dtime_common.cpp31 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 Dtime_service_client.cpp478 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 Dtime_common.h74 static bool GetTimeByClockId(clockid_t clockId, struct timespec &tv);
/ohos5.0/base/time/time_service/services/
H A Dtime_system_ability.cpp495 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 Dtime_system_ability.h105 bool GetTimeByClockId(clockid_t clockId, struct timespec &tv);
/ohos5.0/base/time/time_service/interfaces/inner_api/include/
H A Dtime_service_client.h477 bool GetTimeByClockId(clockid_t clockId, struct timespec &tv);