Home
last modified time | relevance | path

Searched refs:realtime (Results 1 – 3 of 3) sorted by relevance

/unit/src/
H A Dnxt_thread_time.c127 rest = 1000000000 - now.realtime.nsec; in nxt_time_thread()
163 t = nxt_shared_time.realtime.sec; in nxt_thread_time_shared()
164 n = nxt_shared_time.realtime.nsec; in nxt_thread_time_shared()
168 if (now->realtime.sec == t && now->realtime.nsec == n in nxt_thread_time_shared()
182 return thr->time.now.realtime.sec; in nxt_thread_time()
191 return &thr->time.now.realtime; in nxt_thread_realtime()
205 nxt_realtime(&now->realtime); in nxt_thread_realtime_update()
217 nxt_realtime(&now->realtime); in nxt_thread_realtime_update()
219 delta = 1000000000 - now->realtime.nsec; in nxt_thread_realtime_update()
254 s = thr->time.now.realtime.sec; in nxt_thread_time_string()
[all …]
H A Dnxt_time.h28 nxt_realtime_t realtime; member
H A Dnxt_time.c229 now->realtime.sec = (nxt_time_t) tv.tv_sec; in nxt_monotonic_time()
230 now->realtime.nsec = tv.tv_usec * 1000; in nxt_monotonic_time()