Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-hrtime.c29 #ifndef NANOSEC
30 # define NANOSEC ((uint64_t) 1e9) macro
48 ASSERT_UINT64_GT(diff, (uint64_t) 25 * NANOSEC / MILLISEC); in TEST_IMPL()
H A Dbenchmark-pound.c28 #undef NANOSEC
29 #define NANOSEC ((uint64_t) 1e9) macro
300 secs = (double)(end_time - start_time) / NANOSEC; in pound_it()
/libuv/src/unix/
H A Dthread.c55 #undef NANOSEC
56 #define NANOSEC ((uint64_t) 1e9) macro
828 ts.tv_sec = timeout / NANOSEC; in uv_cond_timedwait()
829 ts.tv_nsec = timeout % NANOSEC; in uv_cond_timedwait()
835 timeout += tv.tv_sec * NANOSEC + tv.tv_usec * 1e3; in uv_cond_timedwait()
839 ts.tv_sec = timeout / NANOSEC; in uv_cond_timedwait()
840 ts.tv_nsec = timeout % NANOSEC; in uv_cond_timedwait()

Completed in 12 milliseconds