Home
last modified time | relevance | path

Searched refs:CLOCK_MONOTONIC (Results 1 – 25 of 41) sorted by relevance

12

/minix3/minix/tests/
H A Dtest69.c43 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 Dtime.c35 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 Dchrono.cpp19 #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 Dtimer.c105 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 Drrenum.c219 clock_gettime(CLOCK_MONOTONIC, in do_use_prefix()
226 clock_gettime(CLOCK_MONOTONIC, in do_use_prefix()
H A Ddump.c104 clock_gettime(CLOCK_MONOTONIC, &now); /* XXX: unused in most cases */ in if_dump()
H A Drtadvd.c1020 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 Dconfig.c448 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 Dt_sigtimedwait.c59 clock_gettime(CLOCK_MONOTONIC, &before); in ATF_TC_BODY()
61 clock_gettime(CLOCK_MONOTONIC, &after); in ATF_TC_BODY()
H A Dt_nanosleep.c73 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 Dt_timer_create.c166 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 Dtime.c110 (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 Dmythread.h230 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 Dmytime.c37 static clockid_t clk_id = CLOCK_MONOTONIC; in mytime_now()
/minix3/bin/csh/
H A Dtime.c61 (void)clock_gettime(CLOCK_MONOTONIC, &time0); in settimes()
81 (void)clock_gettime(CLOCK_MONOTONIC, &timedol); in dotime()
/minix3/tests/lib/libpthread/
H A Dt_condwait.c134 cond_wait(CLOCK_MONOTONIC, "CLOCK_MONOTONIC"); in ATF_TC_BODY()
/minix3/external/bsd/atf/dist/tools/
H A Dtimers.cpp95 if (::timer_create(CLOCK_MONOTONIC, &se, &m_pimpl->m_timer) == -1) { in timer()
/minix3/external/bsd/libevent/dist/
H A Devent-internal.h252 #if defined(_EVENT_HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC)
H A Devent.c336 #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 Dtimer.cpp123 if (::timer_create(CLOCK_MONOTONIC, &se, &m_pimpl->m_timer) == -1) { in timer()
/minix3/lib/libc/isc/
H A Dev_timers.c130 #ifdef CLOCK_MONOTONIC in evNowTime()
133 m = CLOCK_MONOTONIC; in evNowTime()
/minix3/tests/net/mcast/
H A Dmcast.c283 #ifdef CLOCK_MONOTONIC in sender()
284 if (clock_gettime(CLOCK_MONOTONIC, &msg.ts) == -1) in sender()
/minix3/external/bsd/dhcpcd/dist/
H A Deloop.c351 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 Dping.c684 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 Dtime.h288 #define CLOCK_MONOTONIC 3 macro

12