| /minix3/minix/tests/ |
| H A D | test69.c | 43 if (clock_getres(CLOCK_MONOTONIC, &res) == -1) e(12); in test_clock_getres() 63 if (clock_gettime(CLOCK_MONOTONIC, &ts) == -1) e(26); in test_clock_gettime() 67 if (clock_gettime(CLOCK_MONOTONIC, &ts2) == -1) e(28); in test_clock_gettime() 80 if (clock_gettime(CLOCK_MONOTONIC, &ts) == -1) e(50); in test_clock_settime() 81 if (clock_settime(CLOCK_MONOTONIC, &ts) == 0) e(51); in test_clock_settime() 111 if (clock_gettime(CLOCK_MONOTONIC, &mt) == -1) e(65); in test_adjtime() 123 if (clock_gettime(CLOCK_MONOTONIC, &mt) == -1) e(71); in test_adjtime() 136 if (clock_gettime(CLOCK_MONOTONIC, &mt) == -1) e(74); in test_adjtime() 157 if (clock_gettime(CLOCK_MONOTONIC, &starttime) == -1) e(1); in main() 165 if (clock_gettime(CLOCK_MONOTONIC, &endtime) == -1) e(2); in main()
|
| /minix3/minix/servers/pm/ |
| H A D | time.c | 35 case CLOCK_MONOTONIC: in do_gettime() 57 case CLOCK_MONOTONIC: in do_getres() 84 case CLOCK_MONOTONIC: /* monotonic cannot be changed */ in do_settime()
|
| /minix3/external/bsd/libc++/dist/libcxx/src/ |
| H A D | chrono.cpp | 19 #if !defined(_LIBCPP_HAS_NO_MONOTONIC_CLOCK) && !defined(CLOCK_MONOTONIC) 72 #ifdef CLOCK_MONOTONIC 78 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) in now()
|
| /minix3/usr.sbin/rtadvd/ |
| H A D | timer.c | 105 clock_gettime(CLOCK_MONOTONIC, &now); in rtadvd_set_timer() 125 clock_gettime(CLOCK_MONOTONIC, &now); in rtadvd_check_timer() 156 clock_gettime(CLOCK_MONOTONIC, &now); in rtadvd_timer_rest()
|
| H A D | rrenum.c | 219 clock_gettime(CLOCK_MONOTONIC, in do_use_prefix() 226 clock_gettime(CLOCK_MONOTONIC, in do_use_prefix()
|
| H A D | dump.c | 104 clock_gettime(CLOCK_MONOTONIC, &now); /* XXX: unused in most cases */ in if_dump()
|
| H A D | rtadvd.c | 1020 clock_gettime(CLOCK_MONOTONIC, &now); in ra_timer_set_short_delay() 1248 clock_gettime(CLOCK_MONOTONIC, &now); in prefix_check() 1284 clock_gettime(CLOCK_MONOTONIC, &now); in prefix_check() 1756 clock_gettime(CLOCK_MONOTONIC, &rai->lastsent); in ra_output()
|
| H A D | config.c | 448 clock_gettime(CLOCK_MONOTONIC, &now); in getconfig() 468 clock_gettime(CLOCK_MONOTONIC, &now); in getconfig() 1221 clock_gettime(CLOCK_MONOTONIC, &now); in make_packet()
|
| /minix3/tests/lib/libc/sys/ |
| H A D | t_sigtimedwait.c | 59 clock_gettime(CLOCK_MONOTONIC, &before); in ATF_TC_BODY() 61 clock_gettime(CLOCK_MONOTONIC, &after); in ATF_TC_BODY()
|
| H A D | t_nanosleep.c | 73 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts1) == 0); in ATF_TC_BODY() 75 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts2) == 0); in ATF_TC_BODY()
|
| H A D | t_timer_create.c | 166 timer_signal_create(CLOCK_MONOTONIC, false); in ATF_TC_BODY() 194 timer_signal_create(CLOCK_MONOTONIC, true); in ATF_TC_BODY()
|
| /minix3/usr.bin/time/ |
| H A D | time.c | 110 (void)clock_gettime(CLOCK_MONOTONIC, &before); in main() 127 (void)clock_gettime(CLOCK_MONOTONIC, &after); in main()
|
| /minix3/external/public-domain/xz/dist/src/common/ |
| H A D | mythread.h | 230 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0 in mythread_cond_init() 233 &condattr, CLOCK_MONOTONIC); in mythread_cond_init() 240 mycond->clk_id = CLOCK_MONOTONIC; in mythread_cond_init()
|
| /minix3/external/public-domain/xz/dist/src/xz/ |
| H A D | mytime.c | 37 static clockid_t clk_id = CLOCK_MONOTONIC; in mytime_now()
|
| /minix3/bin/csh/ |
| H A D | time.c | 61 (void)clock_gettime(CLOCK_MONOTONIC, &time0); in settimes() 81 (void)clock_gettime(CLOCK_MONOTONIC, &timedol); in dotime()
|
| /minix3/tests/lib/libpthread/ |
| H A D | t_condwait.c | 134 cond_wait(CLOCK_MONOTONIC, "CLOCK_MONOTONIC"); in ATF_TC_BODY()
|
| /minix3/external/bsd/atf/dist/tools/ |
| H A D | timers.cpp | 95 if (::timer_create(CLOCK_MONOTONIC, &se, &m_pimpl->m_timer) == -1) { in timer()
|
| /minix3/external/bsd/libevent/dist/ |
| H A D | event-internal.h | 252 #if defined(_EVENT_HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC)
|
| H A D | event.c | 336 #if defined(_EVENT_HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC) 343 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) 369 #if defined(_EVENT_HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC) in gettime() 373 if (clock_gettime(CLOCK_MONOTONIC, &ts) == -1) in gettime() 407 #if defined(_EVENT_HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC) in event_base_gettimeofday_cached() 1895 #if defined(_EVENT_HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC) in event_pending()
|
| /minix3/external/bsd/bind/dist/unit/atf-src/atf-run/ |
| H A D | timer.cpp | 123 if (::timer_create(CLOCK_MONOTONIC, &se, &m_pimpl->m_timer) == -1) { in timer()
|
| /minix3/lib/libc/isc/ |
| H A D | ev_timers.c | 130 #ifdef CLOCK_MONOTONIC in evNowTime() 133 m = CLOCK_MONOTONIC; in evNowTime()
|
| /minix3/tests/net/mcast/ |
| H A D | mcast.c | 283 #ifdef CLOCK_MONOTONIC in sender() 284 if (clock_gettime(CLOCK_MONOTONIC, &msg.ts) == -1) in sender()
|
| /minix3/external/bsd/dhcpcd/dist/ |
| H A D | eloop.c | 351 clock_gettime(CLOCK_MONOTONIC, &now); in eloop_q_timeout_add_tv() 641 if (clock_gettime(CLOCK_MONOTONIC, &now) == -1) in eloop_new() 726 clock_gettime(CLOCK_MONOTONIC, &now); in eloop_start()
|
| /minix3/sbin/ping/ |
| H A D | ping.c | 684 clock_gettime(CLOCK_MONOTONIC, &now); in main() 702 (void)clock_gettime(CLOCK_MONOTONIC, &clear_cache); in doit() 712 clock_gettime(CLOCK_MONOTONIC, &now); in doit() 768 clock_gettime(CLOCK_MONOTONIC, &now); in doit() 893 (void)clock_gettime(CLOCK_MONOTONIC, &clear_cache); in pinger()
|
| /minix3/sys/sys/ |
| H A D | time.h | 288 #define CLOCK_MONOTONIC 3 macro
|