Searched refs:delta (Results 1 – 3 of 3) sorted by last modified time
198 nxt_nsec_t delta; in nxt_thread_realtime_update() local207 delta = 1000000 - now->realtime.nsec % 1000000; in nxt_thread_realtime_update()208 now->update = now->monotonic + delta; in nxt_thread_realtime_update()219 delta = 1000000000 - now->realtime.nsec; in nxt_thread_realtime_update()220 now->update = now->monotonic + delta; in nxt_thread_realtime_update()
231 int32_t delta; in nxt_timer_find() local267 delta = nxt_msec_diff(time, timers->now); in nxt_timer_find()269 return (nxt_msec_t) nxt_max(delta, 0); in nxt_timer_find()
224 nxt_nsec_int_t delta; in nxt_monotonic_time() local238 delta = current - now->previous; in nxt_monotonic_time()241 if (delta > 0) { in nxt_monotonic_time()242 now->monotonic += delta; in nxt_monotonic_time()