Searched refs:clock_id (Results 1 – 5 of 5) sorted by relevance
1624 clock_t clock_id; in uv__hrtime() local1634 clock_id = CLOCK_MONOTONIC; in uv__hrtime()1638 clock_id = atomic_load_explicit(&fast_clock_id, memory_order_relaxed); in uv__hrtime()1639 if (clock_id != -1) in uv__hrtime()1642 clock_id = CLOCK_MONOTONIC; in uv__hrtime()1645 clock_id = CLOCK_MONOTONIC_COARSE; in uv__hrtime()1647 atomic_store_explicit(&fast_clock_id, clock_id, memory_order_relaxed); in uv__hrtime()1651 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()
1814 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 29 milliseconds