Home
last modified time | relevance | path

Searched refs:monotonic (Results 1 – 4 of 4) sorted by relevance

/unit/src/
H A Dnxt_time.c119 now->monotonic = (nxt_nsec_t) ts.tv_sec * 1000000000 + ts.tv_nsec; in nxt_monotonic_time()
142 now->monotonic = (nxt_nsec_t) ts.tv_sec * 1000000000 + ts.tv_nsec; in nxt_monotonic_time()
157 now->monotonic = (nxt_nsec_t) hg_gethrtime(); in nxt_monotonic_time()
176 now->monotonic = (nxt_nsec_t) gethrtime(); in nxt_monotonic_time()
196 now->monotonic = (nxt_nsec_t) ts.tv_sec * 1000000000 + ts.tv_nsec; in nxt_monotonic_time()
214 now->monotonic = mach_absolute_time(); in nxt_monotonic_time()
242 now->monotonic += delta; in nxt_monotonic_time()
246 now->monotonic++; in nxt_monotonic_time()
253 now->update = now->monotonic + 1; in nxt_monotonic_time()
H A Dnxt_thread_time.c165 m = nxt_shared_time.monotonic; in nxt_thread_time_shared()
169 && now->monotonic == m && now->update == u) in nxt_thread_time_shared()
204 if (now->monotonic >= now->update) { in nxt_thread_realtime_update()
208 now->update = now->monotonic + delta; in nxt_thread_realtime_update()
216 if (now->monotonic >= now->update) { in nxt_thread_realtime_update()
220 now->update = now->monotonic + delta; in nxt_thread_realtime_update()
H A Dnxt_time.h29 nxt_nsec_t monotonic; member
H A Dnxt_thread_time.h74 (thr)->time.now.monotonic