Searched refs:NANOSEC (Results 1 – 6 of 6) sorted by relevance
28 #undef NANOSEC29 #define NANOSEC ((uint64_t) 1e9) macro34 return (((uint64_t) ts.tv_sec) * NANOSEC + ts.tv_nsec); in uv__hrtime()
44 #undef NANOSEC45 #define NANOSEC ((uint64_t) 1e9) macro813 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()
29 #ifndef NANOSEC30 # define NANOSEC ((uint64_t) 1e9) macro48 ASSERT(diff > (uint64_t) 25 * NANOSEC / MILLISEC); in TEST_IMPL()
28 #undef NANOSEC29 #define NANOSEC ((uint64_t) 1e9) macro300 secs = (double)(end_time - start_time) / NANOSEC; in pound_it()
29 #define NANOSEC 1000000000 macro42 ts.tv_nsec = NANOSEC; in main()
372 #define NANOSEC (1000000000L) in do_read() macro406 ts.tv_nsec += NANOSEC; in do_read()412 if (ts.tv_nsec > NANOSEC) { in do_read()413 ts.tv_sec += ts.tv_nsec / NANOSEC; in do_read()414 ts.tv_nsec %= NANOSEC; in do_read()