Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dlinux.c1624 clock_t clock_id; in uv__hrtime() local
1634 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()
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.h1814 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 33 milliseconds