Searched refs:clock_gettime (Results 26 - 50 of 174) sorted by relevance

1234567

/freebsd-11-stable/tools/tools/netrate/netblast/
H A Dnetblast.c85 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) {
86 perror("clock_gettime");
122 if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) {
123 perror("clock_gettime");
/freebsd-11-stable/usr.sbin/rtadvd/
H A Dtimer.c161 clock_gettime(CLOCK_MONOTONIC_FAST, &now);
191 clock_gettime(CLOCK_MONOTONIC_FAST, &now);
/freebsd-11-stable/usr.sbin/rtsold/
H A Ddump.c65 clock_gettime(CLOCK_MONOTONIC_FAST, &now);
148 clock_gettime(CLOCK_MONOTONIC_FAST, &now);
/freebsd-11-stable/tests/sys/audit/
H A Dutils.c148 ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC, &endtime));
154 ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC, &currtime));
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_clock_gettime.c100 CL(clock_gettime(CLOCK_REALTIME, &tsa));
109 CL(clock_gettime(CLOCK_REALTIME, &tsb));
/freebsd-11-stable/usr.bin/truss/
H A Dsetup.c415 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);
H A Dmain.c197 clock_gettime(CLOCK_REALTIME, &trussinfo->start_time);
/freebsd-11-stable/lib/libc/resolv/
H A Dres_state.c82 if (clock_gettime(CLOCK_MONOTONIC_FAST, &now) != 0 ||
/freebsd-11-stable/contrib/ntp/util/
H A Djitter.c103 clock_gettime(CLOCK_REALTIME, &ts);
/freebsd-11-stable/sys/powerpc/mpc85xx/
H A Dds1553_bus_fdt.c63 DEVMETHOD(clock_gettime, ds1553_gettime),
/freebsd-11-stable/sys/mips/cavium/
H A Docteon_rtc.c57 DEVMETHOD(clock_gettime, octeon_rtc_gettime),
/freebsd-11-stable/tools/tools/netrate/netsend/
H A Dnetsend.c109 if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) {
110 perror("clock_gettime");
120 if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) {
121 perror("clock_gettime");
174 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) {
175 perror("clock_gettime");
252 if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) {
253 perror("clock_gettime");
/freebsd-11-stable/usr.bin/mkimg/
H A Duuid.c74 if (clock_gettime(CLOCK_REALTIME, &tp) == -1)
/freebsd-11-stable/contrib/openbsm/bin/auditfilterd/
H A Dauditfilterd.c50 #include <compat/clock_gettime.h>
203 if (clock_gettime(CLOCK_REALTIME, &ts) < 0)
204 err(-1, "clock_gettime");
253 if (clock_gettime(CLOCK_REALTIME, &ts) < 0)
254 err(-1, "clock_gettime");
/freebsd-11-stable/usr.bin/grdc/
H A Dgrdc.c142 clock_gettime(CLOCK_REALTIME_FAST, &now);
200 clock_gettime(CLOCK_REALTIME_FAST, &now);
210 clock_gettime(CLOCK_REALTIME_FAST, &now);
/freebsd-11-stable/lib/libc/sys/
H A DMakefile.inc18 SRCS+= clock_gettime.c gettimeofday.c __vdso_gettimeofday.c
19 NOASM+= clock_gettime.o gettimeofday.o
153 clock_gettime.2 \
350 MLINKS+=clock_gettime.2 clock_getres.2 \
351 clock_gettime.2 clock_settime.2
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Devutil_time.c215 The POSIX clock_gettime() interface provides a few ways to get at a
245 if (clock_gettime(CLOCK_MONOTONIC_COARSE, &ts) == 0) {
251 if (!fallback && clock_gettime(CLOCK_MONOTONIC, &ts) == 0) {
277 if (clock_gettime(base->monotonic_clock, &ts) == -1)
289 clock_gettime(), they provide mach_absolute_time(). Its units are not
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_machine.h122 #define getclock clock_gettime
/freebsd-11-stable/contrib/libucl/tests/
H A Dtest_speed.c51 clock_gettime (CLOCK_MONOTONIC, &ts);
/freebsd-11-stable/sys/arm/lpc/
H A Dlpc_rtc.c136 DEVMETHOD(clock_gettime, lpc_rtc_gettime),
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_join.c116 clock_gettime(CLOCK_REALTIME, &ts);
/freebsd-11-stable/sys/sparc64/sparc64/
H A Deeprom.c91 DEVMETHOD(clock_gettime, mk48txx_gettime),
/freebsd-11-stable/contrib/blacklist/bin/
H A Dblacklistctl.c124 clock_gettime(CLOCK_REALTIME, &ts);
/freebsd-11-stable/bin/dd/
H A Dmisc.c64 if (clock_gettime(CLOCK_MONOTONIC, &end))
65 err(1, "clock_gettime");
/freebsd-11-stable/include/
H A Dtime.h174 int clock_gettime(clockid_t, struct timespec *);

Completed in 149 milliseconds

1234567