Home
last modified time | relevance | path

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

/system/update_engine/common/
Dclock.cc28 struct timespec now_ts; in GetMonotonicTime() local
29 if (clock_gettime(CLOCK_MONOTONIC_RAW, &now_ts) != 0) { in GetMonotonicTime()
38 now_tv.tv_sec = now_ts.tv_sec; in GetMonotonicTime()
39 now_tv.tv_usec = now_ts.tv_nsec / base::Time::kNanosecondsPerMicrosecond; in GetMonotonicTime()
44 struct timespec now_ts; in GetBootTime() local
45 if (clock_gettime(CLOCK_BOOTTIME, &now_ts) != 0) { in GetBootTime()
53 now_tv.tv_sec = now_ts.tv_sec; in GetBootTime()
54 now_tv.tv_usec = now_ts.tv_nsec / base::Time::kNanosecondsPerMicrosecond; in GetBootTime()
/system/media/audio_utils/include/audio_utils/
Dclock.h117 struct timespec now_ts; in audio_utils_get_real_time_ns() local
118 if (clock_gettime(CLOCK_REALTIME, &now_ts) == 0) { in audio_utils_get_real_time_ns()
119 return audio_utils_ns_from_timespec(&now_ts); in audio_utils_get_real_time_ns()