Lines Matching refs:now
224 uint64_t now;
230 now = mach_absolute_time();
235 if (now > clock_calend.adjstart) {
236 t32 = now - clock_calend.adjstart;
239 now -= clock_calend.adjoffset;
241 now = clock_calend.adjstart;
245 now += clock_calend.offset;
247 absolutetime_to_microtime(now, secs, microsecs);
270 uint64_t now;
276 now = mach_absolute_time();
281 if (now > clock_calend.adjstart) {
282 t32 = now - clock_calend.adjstart;
285 now -= clock_calend.adjoffset;
287 now = clock_calend.adjstart;
291 now += clock_calend.offset;
293 absolutetime_to_microtime(now, secs, nanosecs);
318 uint64_t now;
324 now = mach_absolute_time();
327 clock_gettimeofday_set_commpage(now, clock_calend.epoch, clock_calend.offset, secs, microsecs);
332 if (now > clock_calend.adjstart) {
333 t32 = now - clock_calend.adjstart;
336 now -= clock_calend.adjoffset;
338 now = clock_calend.adjstart;
341 now += clock_calend.offset;
343 absolutetime_to_microtime(now, secs, microsecs);
535 uint64_t now, t64;
543 now = mach_absolute_time();
566 clock_calend.adjstart = now;
621 uint64_t now, t64;
627 now = mach_absolute_time();
655 clock_calend.adjstart = now;
711 uint64_t now = mach_absolute_time();
713 if (now >= deadline)
716 if ( (deadline - now) < (8 * sched_cswtime) ||
816 uint64_t now;
842 now = mach_absolute_time();
847 if (now > stable.calend.adjstart) {
848 t32 = now - stable.calend.adjstart;
851 now -= stable.calend.adjoffset;
853 now = stable.calend.adjstart;
857 now += stable.calend.offset;
859 absolutetime_to_microtime(now, secs, nanosecs);