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.c58 #undef NANOSEC
59 #define NANOSEC ((uint64_t) 1e9) macro
849 ts.tv_sec = timeout / NANOSEC; in uv_cond_timedwait()
850 ts.tv_nsec = timeout % NANOSEC; in uv_cond_timedwait()
856 timeout += tv.tv_sec * NANOSEC + tv.tv_usec * 1e3; in uv_cond_timedwait()
860 ts.tv_sec = timeout / NANOSEC; in uv_cond_timedwait()
861 ts.tv_nsec = timeout % NANOSEC; in uv_cond_timedwait()

Completed in 13 milliseconds