/freebsd-11-stable/contrib/openbsm/compat/ |
H A D | clock_gettime.h | 28 * Compatibility routines for clock_gettime(CLOCK_REALTIME, ...) for systems 36 #define CLOCK_REALTIME 0x2d4e1588 macro 43 if (clock_id != CLOCK_REALTIME) {
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_clock_nanosleep.c | 48 ATF_REQUIRE(clock_nanosleep(CLOCK_REALTIME, 0, &rqtp, &rmtp) == 0); 55 ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &rqtp) == 0); 57 ATF_REQUIRE(clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &rqtp, &rmtp) == 0);
|
H A D | t_timer_create.c | 132 ATF_REQUIRE_ERRNO(EINVAL, timer_create(CLOCK_REALTIME, &ev, &t) == -1); 138 ATF_REQUIRE_ERRNO(EINVAL, timer_create(CLOCK_REALTIME, &ev, &t) == -1); 146 "Checks timer_create(2) with CLOCK_REALTIME and sigevent(3), " 152 timer_signal_create(CLOCK_REALTIME, false); 174 "Checks timer_create(2) with CLOCK_REALTIME and sigevent(3), " 180 timer_signal_create(CLOCK_REALTIME, true);
|
H A D | t_clock_gettime.c | 100 CL(clock_gettime(CLOCK_REALTIME, &tsa)); 109 CL(clock_gettime(CLOCK_REALTIME, &tsb)); 139 if (clock_getres(CLOCK_REALTIME, &res) == 0) { 156 "Checks the monotonicity of the CLOCK_REALTIME implementation");
|
/freebsd-11-stable/tools/regression/priv/ |
H A D | priv_clock_settime.c | 36 * it. Test only CLOCK_REALTIME. 53 if (clock_gettime(CLOCK_REALTIME, &the_time) < 0) { 55 "clock_gettime(CLOCK_REALTIME)"); 66 error = clock_settime(CLOCK_REALTIME, &the_time);
|
/freebsd-11-stable/contrib/gcclibs/libgomp/config/posix/ |
H A D | time.c | 56 clock_gettime (CLOCK_REALTIME, &ts); 73 clock_getres (CLOCK_REALTIME, &ts);
|
/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,
|
/freebsd-11-stable/contrib/xz/src/xz/ |
H A D | mytime.c | 34 // reason isn't at runtime, fallback to CLOCK_REALTIME which 39 clk_id = CLOCK_REALTIME;
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_tsc.h | 69 int result = clock_gettime(CLOCK_REALTIME, &TS);
|
/freebsd-11-stable/tools/tools/netrate/netblast/ |
H A D | netblast.c | 80 if (clock_getres(CLOCK_REALTIME, &tmptime) == -1) { 85 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) { 122 if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) {
|
/freebsd-11-stable/contrib/llvm-project/libcxx/src/ |
H A D | chrono.cpp | 12 #include <time.h> // clock_gettime, CLOCK_MONOTONIC and CLOCK_REALTIME 27 #if !defined(CLOCK_REALTIME) || !defined(_LIBCPP_USE_CLOCK_GETTIME) 29 #endif // !defined(CLOCK_REALTIME) 81 #if defined(_LIBCPP_USE_CLOCK_GETTIME) && defined(CLOCK_REALTIME) 83 if (0 != clock_gettime(CLOCK_REALTIME, &tp)) 84 __throw_system_error(errno, "clock_gettime(CLOCK_REALTIME) failed"); 90 #endif // _LIBCPP_USE_CLOCK_GETTIME && CLOCK_REALTIME
|
/freebsd-11-stable/include/ |
H A D | time.h | 99 #if !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 199506 100 #define CLOCK_REALTIME 0 macro 101 #endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 199506 */
|
/freebsd-11-stable/contrib/blacklist/port/ |
H A D | port.h | 78 #define CLOCK_REALTIME 0 macro
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/ |
H A D | tst.sigwait.c | 51 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1) {
|
/freebsd-11-stable/tools/tools/netrate/netsend/ |
H A D | netsend.c | 109 if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) { 120 if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) { 152 if (clock_getres(CLOCK_REALTIME, &tmptime) == -1) { 174 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) { 252 if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) {
|
/freebsd-11-stable/tools/tools/netrate/juggle/ |
H A D | juggle.c | 253 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) 277 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0) 355 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) 370 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0) 428 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) 451 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0)
|
/freebsd-11-stable/contrib/ntp/util/ |
H A D | sht.c | 201 #if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_REALTIME) 207 if (0 == clock_gettime(CLOCK_REALTIME, &tmptime)) {
|
H A D | jitter.c | 103 clock_gettime(CLOCK_REALTIME, &ts);
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | adjtime.c | 317 if (ClockPeriod (CLOCK_REALTIME, 0, &period, 0) == -1) 357 if (ClockAdjust (CLOCK_REALTIME, &adj, &oldadj) == -1)
|
/freebsd-11-stable/usr.bin/truss/ |
H A D | setup.c | 415 clock_gettime(CLOCK_REALTIME, &t->before); 434 clock_gettime(CLOCK_REALTIME, &t->after); 454 clock_gettime(CLOCK_REALTIME, &t->after); 541 clock_gettime(CLOCK_REALTIME, &t->after); 552 clock_gettime(CLOCK_REALTIME, &t->after); 564 clock_gettime(CLOCK_REALTIME, &t->after); 581 clock_gettime(CLOCK_REALTIME, &t->after); 648 clock_gettime(CLOCK_REALTIME, &t->after);
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_condattr.c | 97 if (clock_id != CLOCK_REALTIME &&
|
H A D | thr_umtx.c | 132 timeout._clockid = CLOCK_REALTIME; 301 timeout._clockid = CLOCK_REALTIME; 321 timeout._clockid = CLOCK_REALTIME;
|
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_clock.c | 52 *out = CLOCK_REALTIME;
|
/freebsd-11-stable/usr.bin/mkimg/ |
H A D | uuid.c | 74 if (clock_gettime(CLOCK_REALTIME, &tp) == -1)
|
/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,
|