Searched refs:clock_gettime (Results 1 - 25 of 217) sorted by relevance

123456789

/netbsd-current/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dgethrtime.c36 int r = clock_gettime (CLOCK_MONOTONIC_RAW, &tp);
38 int r = clock_gettime (CLOCK_MONOTONIC, &tp);
/netbsd-current/lib/libc/gen/
H A Dtimespec_get.c50 if (clock_gettime(CLOCK_REALTIME, ts) == -1)
/netbsd-current/external/mit/libuv/dist/src/unix/
H A Dposix-hrtime.c33 clock_gettime(CLOCK_MONOTONIC, &ts);
/netbsd-current/external/bsd/blocklist/port/
H A Dclock_gettime.c9 clock_gettime(int clock __unused, struct timespec *ts) function
/netbsd-current/external/bsd/tmux/dist/compat/
H A Dclock_gettime.c30 clock_gettime(int clock, struct timespec *ts) function
/netbsd-current/external/bsd/libfido2/dist/openbsd-compat/
H A Dclock_gettime.c14 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 Dtime.c52 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0)
54 clock_gettime (CLOCK_REALTIME, &ts);
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/posix/
H A Dtime.c52 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0)
54 clock_gettime (CLOCK_REALTIME, &ts);
/netbsd-current/external/bsd/libfido2/dist/src/
H A Dtime.c35 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 Dgettime.c39 if (clock_gettime (CLOCK_REALTIME, ts) == 0)
/netbsd-current/lib/libc/compat/sys/
H A Dcompat_clock.c46 __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 Dt_rwlock.c100 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,
H A Dt_thrd.c190 ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &start), 0);
192 ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &stop), 0);
206 ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &start), 0);
208 ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &stop), 0);
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/
H A Dgethrtime.c124 * 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 Dutil.h21 #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 Dmisc.c38 clock_gettime (CLOCK_MONOTONIC, &t);
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dldseed.c104 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 Dchrono.cc60 clock_gettime(CLOCK_REALTIME, &tp);
88 clock_gettime(CLOCK_MONOTONIC, &tp);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dchrono.cc60 clock_gettime(CLOCK_REALTIME, &tp);
88 clock_gettime(CLOCK_MONOTONIC, &tp);
/netbsd-current/tests/kernel/kqueue/
H A Dt_timer.c99 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 Dmytime.c39 while (clock_gettime(clk_id, &tv))
/netbsd-current/tests/lib/libc/sys/
H A Dt_clock_nanosleep.c51 ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &rqtp) == 0);
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_tsc.h53 // 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 Drtadvd_hostops.c40 .op_clock_gettime = clock_gettime,
/netbsd-current/sbin/cgdconfig/
H A Dargon2_utils.c113 if (clock_gettime(CLOCK_MONOTONIC, &tp1) == -1)
124 if (clock_gettime(CLOCK_MONOTONIC, &tp2) == -1)
144 if (clock_gettime(CLOCK_MONOTONIC, &tp1) == -1)
155 if (clock_gettime(CLOCK_MONOTONIC, &tp2) == -1)

Completed in 338 milliseconds

123456789