| /src/external/gpl3/gcc/dist/libgomp/config/posix/ |
| time.c | 51 # ifdef CLOCK_MONOTONIC 52 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) 68 # ifdef CLOCK_MONOTONIC 69 if (clock_getres (CLOCK_MONOTONIC, &ts) < 0)
|
| /src/external/gpl3/gcc.old/dist/libgomp/config/posix/ |
| time.c | 51 # ifdef CLOCK_MONOTONIC 52 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) 68 # ifdef CLOCK_MONOTONIC 69 if (clock_getres (CLOCK_MONOTONIC, &ts) < 0)
|
| /src/lib/libc/gen/ |
| timespec_get.c | 54 if (clock_gettime(CLOCK_MONOTONIC, ts) == -1)
|
| timespec_getres.c | 52 if (clock_getres(CLOCK_MONOTONIC, ts) == -1)
|
| /src/external/bsd/libfido2/dist/openbsd-compat/ |
| clock_gettime.c | 18 if (clock_id != CLOCK_MONOTONIC) {
|
| time.h | 17 #ifndef CLOCK_MONOTONIC 18 #define CLOCK_MONOTONIC CLOCK_REALTIME
|
| /src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| gethrtime.c | 25 /* CLOCK_MONOTONIC 38 int r = clock_gettime (CLOCK_MONOTONIC, &tp);
|
| /src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| gethrtime.c | 25 /* CLOCK_MONOTONIC 38 int r = clock_gettime (CLOCK_MONOTONIC, &tp);
|
| /src/external/mit/libuv/dist/src/unix/ |
| posix-hrtime.c | 32 if (clock_gettime(CLOCK_MONOTONIC, &t))
|
| /src/external/bsd/libfido2/dist/src/ |
| time.c | 35 if (clock_gettime(CLOCK_MONOTONIC, ts_now) != 0) { 52 if (clock_gettime(CLOCK_MONOTONIC, &ts_end) != 0) {
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/dragonflybsd/ |
| time.d | 19 enum CLOCK_MONOTONIC = 4;
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/openbsd/ |
| time.d | 18 enum CLOCK_MONOTONIC = 3;
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/solaris/ |
| time.d | 17 enum CLOCK_HIGHRES = CLOCK_MONOTONIC;
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
| chrono.cc | 85 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp); 87 clock_gettime(CLOCK_MONOTONIC, &tp);
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/netbsd/ |
| time.d | 21 enum CLOCK_MONOTONIC = 3;
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
| chrono.cc | 85 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp); 87 clock_gettime(CLOCK_MONOTONIC, &tp);
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| ldseed.c | 65 #elif defined(CLOCK_MONOTONIC) 66 #define NON_WALLTIME_CLOCK CLOCK_MONOTONIC
|
| /src/tests/lib/libc/sys/ |
| t_timerfd.c | 135 ATF_REQUIRE((fd = timerfd_create(CLOCK_MONOTONIC, 0)) >= 0); 216 RL(clock_gettime(CLOCK_MONOTONIC, &now)); 217 RL(fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK)); 264 RL(fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK)); 266 RL(clock_gettime(CLOCK_MONOTONIC, &then)); 275 RL(clock_nanosleep(CLOCK_MONOTONIC, 0, &(const struct timespec){0, 1}, 279 RL(clock_gettime(CLOCK_MONOTONIC, &now)); 305 ATF_REQUIRE((fd = timerfd_create(CLOCK_MONOTONIC, 0)) >= 0); 313 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0); 322 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &now) == 0) [all...] |
| /src/usr.bin/rump_dhcpclient/ |
| common.c | 62 int clock_monotonic; variable 78 * Which is why we use CLOCK_MONOTONIC, but it is not available on all 86 #if defined(_POSIX_MONOTONIC_CLOCK) && defined(CLOCK_MONOTONIC) 91 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { 92 posix_clock = CLOCK_MONOTONIC; 93 clock_monotonic = posix_clock_set = 1; 97 if (clock_monotonic) { 116 clock_monotonic = posix_clock_set = 1; 119 if (clock_monotonic) {
|
| /src/usr.sbin/rtadvd/ |
| timer.c | 105 prog_clock_gettime(CLOCK_MONOTONIC, &now); 128 prog_clock_gettime(CLOCK_MONOTONIC, &now); 161 prog_clock_gettime(CLOCK_MONOTONIC, &now);
|
| /src/sbin/cgdconfig/ |
| argon2_utils.c | 113 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)
|
| /src/tests/kernel/ |
| t_nanosleep.c | 164 (void) clock_nanosleep(CLOCK_MONOTONIC, TIMER_RELTIME, &brief, NULL); 173 (void) clock_nanosleep(CLOCK_MONOTONIC, TIMER_RELTIME, &brief, NULL); 204 runit(CLOCK_MONOTONIC, TIMER_ABSTIME); 214 runit(CLOCK_MONOTONIC, TIMER_RELTIME);
|
| /src/tests/lib/libpthread/ |
| t_thrd.c | 190 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);
|
| /src/external/bsd/libevent/dist/ |
| time-internal.h | 47 #if defined(EVENT__HAVE_CLOCK_GETTIME) && defined(CLOCK_MONOTONIC)
|
| /src/external/bsd/libfido2/dist/fuzz/ |
| clock.c | 54 if (!prng_up || clk_id != CLOCK_MONOTONIC)
|