Searched refs:now_tv (Results 1 – 2 of 2) sorted by relevance
37 struct timeval now_tv; in GetMonotonicTime() local38 now_tv.tv_sec = now_ts.tv_sec; in GetMonotonicTime()39 now_tv.tv_usec = now_ts.tv_nsec/base::Time::kNanosecondsPerMicrosecond; in GetMonotonicTime()40 return base::Time::FromTimeVal(now_tv); in GetMonotonicTime()52 struct timeval now_tv; in GetBootTime() local53 now_tv.tv_sec = now_ts.tv_sec; in GetBootTime()54 now_tv.tv_usec = now_ts.tv_nsec/base::Time::kNanosecondsPerMicrosecond; in GetBootTime()55 return base::Time::FromTimeVal(now_tv); in GetBootTime()
107 struct timeval now_tv; in audio_utils_get_real_time_ns()108 if (gettimeofday(&now_tv, NULL /* struct timezone * */) == 0) { in audio_utils_get_real_time_ns()109 return now_tv.tv_sec * 1000000000LL + now_tv.tv_usec * 1000LL; in audio_utils_get_real_time_ns()