Home
last modified time | relevance | path

Searched refs:NANOSEC (Results 1 - 6 of 6) sorted by relevance

/third_party/node/deps/uv/src/unix/
H A Dposix-hrtime.c28 #undef NANOSEC macro
29 #define NANOSEC ((uint64_t) 1e9) macro
34 return (((uint64_t) ts.tv_sec) * NANOSEC + ts.tv_nsec); in uv__hrtime()
H A Dthread.c44 #undef NANOSEC macro
45 #define NANOSEC ((uint64_t) 1e9) macro
813 ts.tv_sec = timeout / NANOSEC; in uv_cond_timedwait()
814 ts.tv_nsec = timeout % NANOSEC; in uv_cond_timedwait()
820 timeout += tv.tv_sec * NANOSEC + tv.tv_usec * 1e3; in uv_cond_timedwait()
824 ts.tv_sec = timeout / NANOSEC; in uv_cond_timedwait()
825 ts.tv_nsec = timeout % NANOSEC; in uv_cond_timedwait()
/third_party/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 macro
29 #define NANOSEC ((uint64_t) 1e9) macro
300 secs = (double)(end_time - start_time) / NANOSEC; in pound_it()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/
H A D6-2.c29 #define NANOSEC 1000000000 macro
42 ts.tv_nsec = NANOSEC; in main()
/third_party/libuv/src/unix/
H A Dthread.c55 #undef NANOSEC macro
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 4 milliseconds