Lines Matching defs:secs
206 _absolutetime_to_microtime(uint64_t abstime, clock_sec_t *secs, clock_usec_t *microsecs)
209 *secs = abstime / (uint64_t)NSEC_PER_SEC;
216 _absolutetime_to_nanotime(uint64_t abstime, clock_sec_t *secs, clock_usec_t *nanosecs)
218 *secs = abstime / (uint64_t)NSEC_PER_SEC;
229 absolutetime_to_microtime(uint64_t abstime, clock_sec_t *secs, clock_usec_t *microsecs)
231 _absolutetime_to_microtime(abstime, secs, microsecs);
235 absolutetime_to_nanotime(uint64_t abstime, clock_sec_t* secs, clock_nsec_t *nanosecs)
237 _absolutetime_to_nanotime(abstime, secs, nanosecs);
241 nanotime_to_absolutetime(clock_sec_t secs, clock_nsec_t nanosecs, uint64_t* result)
243 *result = ((uint64_t)secs * NSEC_PER_SEC) + nanosecs;
258 void clock_get_system_nanotime(clock_sec_t * secs, clock_nsec_t * nanosecs)
262 _absolutetime_to_nanotime(now, secs, nanosecs);
265 void clock_get_system_microtime(clock_sec_t * secs, clock_usec_t * microsecs)
268 _absolutetime_to_microtime(now, secs, microsecs);
337 uint64_t offset, clock_sec_t * secs,
343 remain = _absolutetime_to_microtime(now, secs, microsecs);
344 *secs += (clock_sec_t)epoch;
345 commpage_set_timestamp(abstime - remain, *secs, 0);