Home
last modified time | relevance | path

Searched refs:clock_id (Results 1 – 5 of 5) sorted by relevance

/libuv/src/unix/
H A Dlinux.c1625 clock_t clock_id; in uv__hrtime() local
1635 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()
H A Dcore.c124 int uv_clock_gettime(uv_clock_id clock_id, uv_timespec64_t* ts) { in uv_clock_gettime() argument
131 switch (clock_id) { in uv_clock_gettime()
/libuv/src/win/
H A Dutil.c428 int uv_clock_gettime(uv_clock_id clock_id, uv_timespec64_t* ts) { in uv_clock_gettime() argument
435 switch (clock_id) { in uv_clock_gettime()
/libuv/include/
H A Duv.h1820 UV_EXTERN int uv_clock_gettime(uv_clock_id clock_id, uv_timespec64_t* ts);
/libuv/docs/src/
H A Dmisc.rst665 .. c:function:: int uv_clock_gettime(uv_clock_id clock_id, uv_timespec64_t* ts)

Completed in 31 milliseconds