Searched refs:now_ts (Results 1 – 2 of 2) sorted by relevance
28 struct timespec now_ts; in GetMonotonicTime() local29 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() local45 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()
117 struct timespec now_ts; in audio_utils_get_real_time_ns() local118 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()