HomeSort by: relevance | last modified time | path
    Searched refs:CLOCK_MONOTONIC_COARSE (Results 1 - 10 of 10) sorted by relevancy

  /src/external/bsd/libevent/dist/
evutil_time.c 303 provides a CLOCK_MONOTONIC_COARSE with accuracy of about 1-4 msec.
316 #ifdef CLOCK_MONOTONIC_COARSE
322 #ifdef CLOCK_MONOTONIC_COARSE
323 if (CLOCK_MONOTONIC_COARSE < 0) {
328 event_errx(1,"I didn't expect CLOCK_MONOTONIC_COARSE to be < 0");
331 if (clock_gettime(CLOCK_MONOTONIC_COARSE, &ts) == 0) {
332 base->monotonic_clock = CLOCK_MONOTONIC_COARSE;
  /src/external/bsd/ntp/dist/sntp/libevent/
evutil_time.c 302 provides a CLOCK_MONOTONIC_COARSE with accuracy of about 1-4 msec.
315 #ifdef CLOCK_MONOTONIC_COARSE
321 #ifdef CLOCK_MONOTONIC_COARSE
322 if (CLOCK_MONOTONIC_COARSE < 0) {
327 event_errx(1,"I didn't expect CLOCK_MONOTONIC_COARSE to be < 0");
330 if (clock_gettime(CLOCK_MONOTONIC_COARSE, &ts) == 0) {
331 base->monotonic_clock = CLOCK_MONOTONIC_COARSE;
  /src/external/bsd/jemalloc.old/dist/src/
nstime.c 119 clock_gettime(CLOCK_MONOTONIC_COARSE, &ts);
  /src/external/mit/libuv/dist/src/unix/
linux-core.c 66 #ifndef CLOCK_MONOTONIC_COARSE
67 # define CLOCK_MONOTONIC_COARSE 6
126 /* Prefer CLOCK_MONOTONIC_COARSE if available but only when it has
127 * millisecond granularity or better. CLOCK_MONOTONIC_COARSE is
131 /* TODO(bnoordhuis) Use CLOCK_MONOTONIC_COARSE for UV_CLOCK_PRECISE
143 if (0 == clock_getres(CLOCK_MONOTONIC_COARSE, &t))
145 clock_id = CLOCK_MONOTONIC_COARSE;
linux.c 1627 /* Prefer CLOCK_MONOTONIC_COARSE if available but only when it has
1628 * millisecond granularity or better. CLOCK_MONOTONIC_COARSE is
1632 /* TODO(bnoordhuis) Use CLOCK_MONOTONIC_COARSE for UV_CLOCK_PRECISE
1644 if (0 == clock_getres(CLOCK_MONOTONIC_COARSE, &t))
1646 clock_id = CLOCK_MONOTONIC_COARSE;
  /src/external/bsd/jemalloc/dist/src/
nstime.c 192 clock_gettime(CLOCK_MONOTONIC_COARSE, &ts);
  /src/lib/libc/time/
localtime.c 302 #if !defined CLOCK_MONOTONIC_COARSE && defined CLOCK_MONOTONIC
303 # define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
305 #ifndef CLOCK_MONOTONIC_COARSE
2128 clock_gettime(CLOCK_MONOTONIC_COARSE, &now);
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/
time.d 356 case coarse: return CLOCK_MONOTONIC_COARSE;
  /src/external/bsd/jemalloc/dist/
configure 12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable" >&5
12576 $as_echo_n "checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable... " >&6; }
12591 clock_gettime(CLOCK_MONOTONIC_COARSE, &ts);
  /src/external/bsd/jemalloc.old/dist/
configure 10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable" >&5
10658 $as_echo_n "checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable... " >&6; }
10673 clock_gettime(CLOCK_MONOTONIC_COARSE, &ts);

Completed in 58 milliseconds