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

1234567

/freebsd-11-stable/usr.bin/mkuzip/
H A Dmkuz_time.c41 if (clock_gettime(CLOCK_MONOTONIC, &tp) == -1)
/freebsd-11-stable/contrib/blacklist/port/
H A Dclock_gettime.c9 clock_gettime(int clock __unused, struct timespec *ts) function
H A Dport.h77 int clock_gettime(int, struct timespec *);
/freebsd-11-stable/contrib/openbsm/compat/
H A Dclock_gettime.h28 * 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 Dtime.c54 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0)
56 clock_gettime (CLOCK_REALTIME, &ts);
/freebsd-11-stable/lib/libc/gen/
H A Dtime.c45 if (clock_gettime(CLOCK_SECOND, &tt) < 0)
H A Dtimes.c63 if (clock_gettime(CLOCK_MONOTONIC, &t))
/freebsd-11-stable/contrib/netbsd-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_condwait.c68 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 Dclock_gettime.c38 __weak_reference(__clock_gettime, clock_gettime);
/freebsd-11-stable/tools/regression/priv/
H A Dpriv_clock_settime.c53 if (clock_gettime(CLOCK_REALTIME, &the_time) < 0) {
55 "clock_gettime(CLOCK_REALTIME)");
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_clock_nanosleep.c55 ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &rqtp) == 0);
H A Dt_sigtimedwait.c59 clock_gettime(CLOCK_MONOTONIC, &before);
61 clock_gettime(CLOCK_MONOTONIC, &after);
/freebsd-11-stable/contrib/xz/src/xz/
H A Dmytime.c38 while (clock_gettime(clk_id, &tv))
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_tsc.h52 // 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 Dlinux_locore.s39 .weak clock_gettime
40 .set clock_gettime, __vdso_clock_gettime
H A Dlinux_vdso.lds.s63 clock_gettime;
/freebsd-11-stable/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c219 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 Dtable.c88 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 Dchrono.cpp12 #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 Dnstime.c125 clock_gettime(CLOCK_MONOTONIC, &ts);
127 clock_gettime(CLOCK_REALTIME, &ts);
/freebsd-11-stable/usr.sbin/rtadvd/
H A Dtimer_subr.c48 clock_gettime(CLOCK_MONOTONIC_FAST, &now);
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dtime.h88 clock_gettime(CLOCK_UPTIME,&ts);
/freebsd-11-stable/tools/tools/netrate/juggle/
H A Djuggle.c253 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 Drtc.c90 DEVMETHOD(clock_gettime, mc146818_gettime),
111 DEVMETHOD(clock_gettime, mc146818_gettime),

Completed in 261 milliseconds

1234567