Searched refs:clock_id (Results 1 – 5 of 5) sorted by relevance
1625 clock_t clock_id; in uv__hrtime() local1635 clock_id = CLOCK_MONOTONIC; in uv__hrtime()1639 clock_id = atomic_load_explicit(&fast_clock_id, memory_order_relaxed); in uv__hrtime()1640 if (clock_id != -1) in uv__hrtime()1643 clock_id = CLOCK_MONOTONIC; in uv__hrtime()1646 clock_id = CLOCK_MONOTONIC_COARSE; in uv__hrtime()1648 atomic_store_explicit(&fast_clock_id, clock_id, memory_order_relaxed); in uv__hrtime()1652 if (clock_gettime(clock_id, &t)) in uv__hrtime()
124 int uv_clock_gettime(uv_clock_id clock_id, uv_timespec64_t* ts) { in uv_clock_gettime() argument131 switch (clock_id) { in uv_clock_gettime()
428 int uv_clock_gettime(uv_clock_id clock_id, uv_timespec64_t* ts) { in uv_clock_gettime() argument435 switch (clock_id) { in uv_clock_gettime()
1820 UV_EXTERN int uv_clock_gettime(uv_clock_id clock_id, uv_timespec64_t* ts);
665 .. c:function:: int uv_clock_gettime(uv_clock_id clock_id, uv_timespec64_t* ts)
Completed in 31 milliseconds