/freebsd-11-stable/usr.bin/mkuzip/ |
H A D | mkuz_time.c | 41 if (clock_gettime(CLOCK_MONOTONIC, &tp) == -1)
|
/freebsd-11-stable/contrib/blacklist/port/ |
H A D | clock_gettime.c | 9 clock_gettime(int clock __unused, struct timespec *ts) function
|
H A D | port.h | 77 int clock_gettime(int, struct timespec *);
|
/freebsd-11-stable/contrib/openbsm/compat/ |
H A D | clock_gettime.h | 28 * Compatibility routines for clock_gettime(CLOCK_REALTIME, ...) for systems 30 * with the native OS if it has one but not clock_gettime(). We also assume 39 clock_gettime(int clock_id, struct timespec *ts) function
|
/freebsd-11-stable/contrib/gcclibs/libgomp/config/posix/ |
H A D | time.c | 54 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) 56 clock_gettime (CLOCK_REALTIME, &ts);
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | time.c | 45 if (clock_gettime(CLOCK_SECOND, &tt) < 0)
|
H A D | times.c | 63 if (clock_gettime(CLOCK_MONOTONIC, &t))
|
/freebsd-11-stable/contrib/netbsd-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,
|
H A D | t_condwait.c | 68 ATF_REQUIRE_EQ(clock_gettime(clck, &ts), 0); 80 ATF_REQUIRE_EQ(clock_gettime(clck, &te), 0);
|
/freebsd-11-stable/lib/libc/sys/ |
H A D | clock_gettime.c | 38 __weak_reference(__clock_gettime, clock_gettime);
|
/freebsd-11-stable/tools/regression/priv/ |
H A D | priv_clock_settime.c | 53 if (clock_gettime(CLOCK_REALTIME, &the_time) < 0) { 55 "clock_gettime(CLOCK_REALTIME)");
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_clock_nanosleep.c | 55 ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &rqtp) == 0);
|
H A D | t_sigtimedwait.c | 59 clock_gettime(CLOCK_MONOTONIC, &before); 61 clock_gettime(CLOCK_MONOTONIC, &after);
|
/freebsd-11-stable/contrib/xz/src/xz/ |
H A D | mytime.c | 38 while (clock_gettime(clk_id, &tv))
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_tsc.h | 52 // So on ARM we use clock_gettime() which gives the result in nanoseconds. 69 int result = clock_gettime(CLOCK_REALTIME, &TS); 71 Report("clock_gettime(2) returned %d, errno=%d.", result, int(errno));
|
/freebsd-11-stable/sys/amd64/linux/ |
H A D | linux_locore.s | 39 .weak clock_gettime 40 .set clock_gettime, __vdso_clock_gettime
|
H A D | linux_vdso.lds.s | 63 clock_gettime;
|
/freebsd-11-stable/contrib/netbsd-tests/lib/librt/ |
H A D | t_sem.c | 219 ATF_REQUIRE_MSG(clock_gettime(CLOCK_REALTIME, &ts) == 0, 235 ATF_REQUIRE_MSG(clock_gettime(CLOCK_REALTIME, &ts) == 0, 257 ATF_REQUIRE_MSG(clock_gettime(CLOCK_REALTIME, &ts) == 0, 266 ATF_REQUIRE_MSG(clock_gettime(CLOCK_MONOTONIC, &ts) == 0, 289 ATF_REQUIRE_MSG(clock_gettime(CLOCK_MONOTONIC, &ts) == 0,
|
/freebsd-11-stable/libexec/talkd/ |
H A D | table.c | 88 clock_gettime(CLOCK_MONOTONIC_FAST, &ts); 122 clock_gettime(CLOCK_MONOTONIC_FAST, &ts); 160 clock_gettime(CLOCK_MONOTONIC_FAST, &ts);
|
/freebsd-11-stable/contrib/llvm-project/libcxx/src/ |
H A D | chrono.cpp | 12 #include <time.h> // clock_gettime, CLOCK_MONOTONIC and CLOCK_REALTIME 83 if (0 != clock_gettime(CLOCK_REALTIME, &tp)) 84 __throw_system_error(errno, "clock_gettime(CLOCK_REALTIME) failed"); 123 if (0 != clock_gettime(CLOCK_UPTIME_RAW, &tp)) 124 __throw_system_error(errno, "clock_gettime(CLOCK_UPTIME_RAW) failed"); 220 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) 221 __throw_system_error(errno, "clock_gettime(CLOCK_MONOTONIC) failed");
|
/freebsd-11-stable/contrib/jemalloc/src/ |
H A D | nstime.c | 125 clock_gettime(CLOCK_MONOTONIC, &ts); 127 clock_gettime(CLOCK_REALTIME, &ts);
|
/freebsd-11-stable/usr.sbin/rtadvd/ |
H A D | timer_subr.c | 48 clock_gettime(CLOCK_MONOTONIC_FAST, &now);
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | time.h | 88 clock_gettime(CLOCK_UPTIME,&ts);
|
/freebsd-11-stable/tools/tools/netrate/juggle/ |
H A D | juggle.c | 253 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) 254 err(-1, "juggle: clock_gettime"); 277 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0) 278 err(-1, "juggle: clock_gettime"); 355 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) 356 err(-1, "thread_juggle: clock_gettime"); 370 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0) 371 err(-1, "thread_juggle: clock_gettime"); 428 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) 429 err(-1, "process_juggle: clock_gettime"); [all...] |
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | rtc.c | 90 DEVMETHOD(clock_gettime, mc146818_gettime), 111 DEVMETHOD(clock_gettime, mc146818_gettime),
|