Searched refs:abs_ts (Results 1 – 1 of 1) sorted by relevance
66 static inline void absolute_timespec_from_timespec(timespec& abs_ts, const timespec& ts, clockid_t … in absolute_timespec_from_timespec() argument67 clock_gettime(clock, &abs_ts); in absolute_timespec_from_timespec()68 abs_ts.tv_sec += ts.tv_sec; in absolute_timespec_from_timespec()69 abs_ts.tv_nsec += ts.tv_nsec; in absolute_timespec_from_timespec()70 if (abs_ts.tv_nsec >= NS_PER_S) { in absolute_timespec_from_timespec()71 abs_ts.tv_nsec -= NS_PER_S; in absolute_timespec_from_timespec()72 abs_ts.tv_sec++; in absolute_timespec_from_timespec()