Lines Matching refs:now
95 static uint64_t deadline_to_decrementer(uint64_t deadline, uint64_t now)
98 if (deadline <= now)
101 delta = deadline - now;
115 static uint64_t rtclock_internal_arm_timer(uint64_t deadline, uint64_t now)
121 uint64_t delta = deadline_to_decrementer(deadline, now);
124 set = now + delta;
152 uint64_t now;
160 now = 0;
163 now = mach_absolute_time(); /* The time in nanoseconds */
164 pop = rtclock_internal_arm_timer(time, now);
172 return (pop - now);
197 uint64_t now;
201 now = mach_absolute_time();
202 } while (now < deadline);
260 uint64_t now = pe_arm_get_timebase(NULL);
262 _absolutetime_to_nanotime(now, secs, nanosecs);
267 uint64_t now = mach_absolute_time();
268 _absolutetime_to_microtime(now, secs, microsecs);
340 uint64_t now = abstime + offset;
343 remain = _absolutetime_to_microtime(now, secs, microsecs);