Home
last modified time | relevance | path

Searched refs:nxt_nsec_t (Results 1 – 19 of 19) sorted by relevance

/unit/src/
H A Dnxt_time.h11 typedef uint64_t nxt_nsec_t; typedef
13 #define NXT_INFINITE_NSEC ((nxt_nsec_t) -1)
29 nxt_nsec_t monotonic;
30 nxt_nsec_t update;
33 nxt_nsec_t previous;
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()
223 nxt_nsec_t current; in nxt_monotonic_time()
237 current = (nxt_nsec_t) tv.tv_sec * 1000000000 + tv.tv_usec * 1000; in nxt_monotonic_time()
H A Dnxt_thread_pool.h21 nxt_nsec_t timeout;
37 nxt_nsec_t timeout, nxt_thread_pool_init_t init,
H A Dnxt_semaphore.c75 nxt_sem_wait(nxt_sem_t *sem, nxt_nsec_t timeout) in nxt_sem_wait()
79 nxt_nsec_t ns; in nxt_sem_wait()
216 nxt_sem_wait(nxt_sem_t *sem, nxt_nsec_t timeout) in nxt_sem_wait()
H A Dnxt_thread_cond.c59 nxt_nsec_t timeout) in nxt_thread_cond_wait()
62 nxt_nsec_t ns; in nxt_thread_cond_wait()
H A Dnxt_semaphore.h29 NXT_EXPORT nxt_err_t nxt_sem_wait(nxt_sem_t *sem, nxt_nsec_t timeout);
H A Dnxt_thread_time.c102 nxt_nsec_t interval, rest; in nxt_time_thread()
156 nxt_nsec_t m, u; in nxt_thread_time_shared()
198 nxt_nsec_t delta; in nxt_thread_realtime_update()
H A Dnxt_thread.h116 nxt_thread_mutex_t *mtx, nxt_nsec_t timeout);
H A Dnxt_sprintf.c109 nxt_nsec_t ns; in nxt_vsprintf()
291 ns = (nxt_nsec_t) va_arg(args, nxt_nsec_t); in nxt_vsprintf()
H A Dnxt_runtime.h95 nxt_uint_t max_threads, nxt_nsec_t timeout);
H A Dnxt_process.h161 NXT_EXPORT void nxt_nanosleep(nxt_nsec_t ns);
H A Dnxt_thread_pool.c18 nxt_thread_pool_create(nxt_uint_t max_threads, nxt_nsec_t timeout, in nxt_thread_pool_create()
H A Dnxt_process.c927 nxt_nanosleep(nxt_nsec_t ns) in nxt_nanosleep()
H A Dnxt_runtime.c657 nxt_uint_t max_threads, nxt_nsec_t timeout) in nxt_runtime_thread_pool_create()
/unit/src/test/
H A Dnxt_gmtime_test.c30 nxt_nsec_t start, end; in nxt_gmtime_test()
H A Dnxt_lvlhsh_test.c122 nxt_nsec_t start, end; in nxt_lvlhsh_test()
H A Dnxt_rbtree_test.c29 nxt_nsec_t start, end; in nxt_rbtree_test()
H A Dnxt_rbtree1_test.c60 nxt_nsec_t start, end; in nxt_rbtree1_test()
H A Dnxt_http_parse_test.c657 nxt_nsec_t start, end; in nxt_http_parse_test_bench()