/netbsd-current/external/gpl3/binutils/dist/gprofng/libcollector/ |
H A D | gethrtime.c | 36 int r = clock_gettime (CLOCK_MONOTONIC_RAW, &tp); 38 int r = clock_gettime (CLOCK_MONOTONIC, &tp);
|
/netbsd-current/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
H A D | gethrtime.c | 36 int r = clock_gettime (CLOCK_MONOTONIC_RAW, &tp); 38 int r = clock_gettime (CLOCK_MONOTONIC, &tp);
|
/netbsd-current/lib/libc/gen/ |
H A D | timespec_get.c | 50 if (clock_gettime(CLOCK_REALTIME, ts) == -1)
|
/netbsd-current/external/mit/libuv/dist/src/unix/ |
H A D | posix-hrtime.c | 33 clock_gettime(CLOCK_MONOTONIC, &ts);
|
/netbsd-current/external/bsd/blocklist/port/ |
H A D | clock_gettime.c | 9 clock_gettime(int clock __unused, struct timespec *ts) function
|
/netbsd-current/external/bsd/tmux/dist/compat/ |
H A D | clock_gettime.c | 30 clock_gettime(int clock, struct timespec *ts) function
|
/netbsd-current/external/bsd/libfido2/dist/openbsd-compat/ |
H A D | clock_gettime.c | 14 clock_gettime(clockid_t clock_id, struct timespec *tp) function 30 #error "please provide an implementation of clock_gettime() for your platform"
|
/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/posix/ |
H A D | time.c | 52 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) 54 clock_gettime (CLOCK_REALTIME, &ts);
|
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/posix/ |
H A D | time.c | 52 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) 54 clock_gettime (CLOCK_REALTIME, &ts);
|
/netbsd-current/external/bsd/libfido2/dist/src/ |
H A D | time.c | 35 if (clock_gettime(CLOCK_MONOTONIC, ts_now) != 0) { 36 fido_log_error(errno, "%s: clock_gettime", __func__); 52 if (clock_gettime(CLOCK_MONOTONIC, &ts_end) != 0) { 53 fido_log_error(errno, "%s: clock_gettime", __func__);
|
/netbsd-current/external/gpl2/xcvs/dist/lib/ |
H A D | gettime.c | 39 if (clock_gettime (CLOCK_REALTIME, ts) == 0)
|
/netbsd-current/lib/libc/compat/sys/ |
H A D | compat_clock.c | 46 __warn_references(clock_gettime, 47 "warning: reference to compatibility clock_gettime(); include <time.h> to generate correct reference") 56 __weak_alias(clock_gettime, _clock_gettime) 77 clock_gettime(clockid_t clockid, struct timespec50 *tim50) function
|
/netbsd-current/tests/lib/libpthread/ |
H A D | t_rwlock.c | 100 ATF_REQUIRE_EQ_MSG(clock_gettime(CLOCK_REALTIME, &to), 0, 109 ATF_REQUIRE_EQ_MSG(clock_gettime(CLOCK_REALTIME, &to), 0, 114 ATF_REQUIRE_EQ_MSG(clock_gettime(CLOCK_REALTIME, &to), 0,
|
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/ |
H A D | gethrtime.c | 124 * clock_gettime(CLOCK_THREAD_CPUTIME_ID,..), and reformatting. 131 int r = clock_gettime (CLOCK_THREAD_CPUTIME_ID, &tp); 153 * The two can be different. Check the clock_gettime() man page. 163 int r = clock_gettime (CLOCK_MONOTONIC_RAW, &tp); 165 int r = clock_gettime (CLOCK_MONOTONIC, &tp);
|
/netbsd-current/external/gpl3/binutils.old/dist/gprofng/src/ |
H A D | gethrtime.c | 124 * clock_gettime(CLOCK_THREAD_CPUTIME_ID,..), and reformatting. 131 int r = clock_gettime (CLOCK_THREAD_CPUTIME_ID, &tp); 153 * The two can be different. Check the clock_gettime() man page. 163 int r = clock_gettime (CLOCK_MONOTONIC_RAW, &tp); 165 int r = clock_gettime (CLOCK_MONOTONIC, &tp);
|
/netbsd-current/games/warp/ |
H A D | util.h | 21 #define roundsleep(x) (clock_gettime(CLOCK_REALTIME, &timebuf),sleep(timebuf.tv_nsec > (500 * 1000 * 1000) ?x+1:x))
|
/netbsd-current/external/gpl3/gcc.old/dist/libhsail-rt/rt/ |
H A D | misc.c | 38 clock_gettime (CLOCK_MONOTONIC, &t);
|
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | ldseed.c | 104 if (clock_gettime(NON_WALLTIME_CLOCK, &ts) != 0) 105 msg_fatal("clock_gettime() failed: %m"); 116 if (clock_gettime(CLOCK_REALTIME, &ts) != 0) 117 msg_fatal("clock_gettime() failed: %m");
|
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
H A D | chrono.cc | 60 clock_gettime(CLOCK_REALTIME, &tp); 88 clock_gettime(CLOCK_MONOTONIC, &tp);
|
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
H A D | chrono.cc | 60 clock_gettime(CLOCK_REALTIME, &tp); 88 clock_gettime(CLOCK_MONOTONIC, &tp);
|
/netbsd-current/tests/kernel/kqueue/ |
H A D | t_timer.c | 99 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0); 113 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, 131 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, 147 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0); 151 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts) == 0); 284 ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &ots) == 0); 293 ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &ts) == 0); 321 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0); 323 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts) == 0);
|
/netbsd-current/external/public-domain/xz/dist/src/xz/ |
H A D | mytime.c | 39 while (clock_gettime(clk_id, &tv))
|
/netbsd-current/tests/lib/libc/sys/ |
H A D | t_clock_nanosleep.c | 51 ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &rqtp) == 0);
|
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/xray/ |
H A D | xray_tsc.h | 53 // So on ARM we use clock_gettime() which gives the result in nanoseconds. 70 int result = clock_gettime(CLOCK_REALTIME, &TS); 72 Report("clock_gettime(2) returned %d, errno=%d.", result, int(errno));
|
/netbsd-current/usr.sbin/rtadvd/ |
H A D | rtadvd_hostops.c | 40 .op_clock_gettime = clock_gettime,
|