Searched refs:abs_ts (Results 1 - 2 of 2) sorted by relevance

/bionic/libc/bionic/
H A Dbionic_time_conversions.cpp55 void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t clock) { argument
56 clock_gettime(clock, &abs_ts);
57 abs_ts.tv_sec += ts.tv_sec;
58 abs_ts.tv_nsec += ts.tv_nsec;
59 if (abs_ts.tv_nsec >= NS_PER_S) {
60 abs_ts.tv_nsec -= NS_PER_S;
61 abs_ts.tv_sec++;
/bionic/libc/private/
H A Dbionic_time_conversions.h45 __LIBC_HIDDEN__ void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts,

Completed in 85 milliseconds