bin/date/date.c
160
if (clock_gettime(CLOCK_REALTIME, &ts) == -1)
bin/dd/dd.c
306
if (clock_gettime(CLOCK_MONOTONIC, &st.start))
bin/dd/misc.c
59
if (clock_gettime(CLOCK_MONOTONIC, &end))
bin/sh/miscbltin.c
241
clock_gettime(CLOCK_UPTIME, &tnow);
bin/sh/miscbltin.c
249
clock_gettime(CLOCK_UPTIME, &tnow);
crypto/krb5/src/util/verto/ev.c
1867
clock_gettime (CLOCK_REALTIME, &ts);
crypto/krb5/src/util/verto/ev.c
1885
clock_gettime (CLOCK_MONOTONIC, &ts);
crypto/krb5/src/util/verto/ev.c
2845
if (!clock_gettime (CLOCK_REALTIME, &ts))
crypto/krb5/src/util/verto/ev.c
2855
if (!clock_gettime (CLOCK_MONOTONIC, &ts))
crypto/openssh/misc.c
1732
if (clock_gettime(CLOCK_BOOTTIME, ts) == 0)
crypto/openssh/misc.c
1736
if (clock_gettime(CLOCK_MONOTONIC, ts) == 0)
crypto/openssh/misc.c
1741
if (clock_gettime(CLOCK_REALTIME, ts) == 0)
crypto/openssl/apps/lib/apps.c
2830
clock_gettime(CLOCK_REALTIME, &now);
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
180
clock_gettime(CLOCK_REALTIME, &ts);
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
786
if (clock_gettime(CLOCK_REALTIME, &ts) == 0)
crypto/openssl/providers/implementations/rands/seeding/rand_vxworks.c
44
if (clock_gettime(CLOCK_REALTIME, &ts) == 0)
crypto/openssl/providers/implementations/rands/seeding/rand_vxworks.c
57
if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
include/time.h
145
int clock_gettime(clockid_t, struct timespec *);
lib/libc/gen/time.c
41
if (clock_gettime(CLOCK_SECOND, &tt) < 0)
lib/libc/gen/times.c
58
if (clock_gettime(CLOCK_MONOTONIC, &t))
lib/libc/gen/timespec_get.c
44
if (clock_gettime(CLOCK_REALTIME, ts) == -1)
lib/libc/gen/timespec_get.c
48
if (clock_gettime(CLOCK_MONOTONIC, ts) == -1)
lib/libc/isc/ev_timers.c
126
if (clock_gettime(m, &tsnow) == 0)
lib/libc/isc/ev_timers.c
139
if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0)
lib/libc/resolv/res_init.c
291
if (clock_gettime(CLOCK_MONOTONIC_FAST, &now) == 0) {
lib/libc/resolv/res_state.c
82
if (clock_gettime(CLOCK_MONOTONIC_FAST, &now) != 0 ||
lib/libc/tests/gen/glob2_test.c
77
clock_gettime(CLOCK_REALTIME, &t);
lib/libc/tests/gen/glob2_test.c
93
clock_gettime(CLOCK_REALTIME, &t2);
lib/libc/tests/stdlib/qsort_bench.c
92
clock_gettime(CLOCK_UPTIME, &t0);
lib/libc/tests/stdlib/qsort_bench.c
94
clock_gettime(CLOCK_UPTIME, &t1);
lib/libdevstat/devstat.c
353
clock_gettime(CLOCK_MONOTONIC, &ts);
lib/libgeom/geom_stats.c
128
clock_gettime(CLOCK_REALTIME, &sp->time);
lib/libsys/clock_gettime.c
37
__weak_reference(__clock_gettime, clock_gettime);
lib/libthr/thread/thr_join.c
175
clock_gettime(CLOCK_REALTIME, &ts);
lib/libthr/thread/thr_mutex.c
897
clock_gettime(CLOCK_REALTIME, &ts1);
lib/libthr/thread/thr_mutex.c
922
clock_gettime(CLOCK_REALTIME, &ts1);
lib/libufs/inode.c
70
if (clock_gettime(CLOCK_REALTIME_FAST, &now) != 0) {
lib/libusb/libusb10_io.c
327
err = clock_gettime(CLOCK_MONOTONIC, &ts);
libexec/bootpd/rtmsg.c
136
clock_gettime(CLOCK_MONOTONIC, &tp);
libexec/talkd/table.c
116
clock_gettime(CLOCK_MONOTONIC_FAST, &ts);
libexec/talkd/table.c
154
clock_gettime(CLOCK_MONOTONIC_FAST, &ts);
libexec/talkd/table.c
82
clock_gettime(CLOCK_MONOTONIC_FAST, &ts);
sbin/dhclient/dhclient.c
1038
clock_gettime(CLOCK_MONOTONIC, &time_now);
sbin/dhclient/dhclient.c
452
clock_gettime(CLOCK_MONOTONIC, &time_now);
sbin/dhclient/dispatch.c
163
clock_gettime(CLOCK_MONOTONIC, &time_now);
sbin/dhclient/dispatch.c
226
clock_gettime(CLOCK_MONOTONIC, &time_now);
sbin/dhclient/dispatch.c
234
clock_gettime(CLOCK_MONOTONIC, &time_now);
sbin/dhclient/dispatch.c
371
clock_gettime(CLOCK_MONOTONIC, &when);
sbin/fsck_ffs/fsutil.c
406
clock_gettime(CLOCK_REALTIME_PRECISE, &start);
sbin/fsck_ffs/fsutil.c
410
clock_gettime(CLOCK_REALTIME_PRECISE, &finish);
sbin/fsck_ffs/fsutil.c
808
clock_gettime(CLOCK_REALTIME_PRECISE, &startpass);
sbin/fsck_ffs/fsutil.c
836
clock_gettime(CLOCK_REALTIME_PRECISE, &finishpass);
sbin/fsck_ffs/inode.c
650
if (clock_gettime(CLOCK_REALTIME_FAST, &time) == 0)
sbin/fsck_ffs/main.c
440
clock_gettime(CLOCK_REALTIME_PRECISE, &startprog);
sbin/hastd/synch.h
171
error = clock_gettime(CLOCK_MONOTONIC, &ts);
sbin/ifconfig/af_inet6.c
148
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
sbin/ifconfig/af_inet6.c
349
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
sbin/ifconfig/af_inet6.c
377
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
sbin/ipfw/ipfw2.c
6229
clock_gettime(CLOCK_REALTIME, &tp);
sbin/nvmecontrol/devlist.c
173
clock_gettime(CLOCK_REALTIME, &now);
sbin/ping/ping.c
1023
(void)clock_gettime(CLOCK_MONOTONIC, &now);
sbin/ping/ping.c
879
(void)clock_gettime(CLOCK_MONOTONIC, &last);
sbin/ping/ping.c
906
(void)clock_gettime(CLOCK_MONOTONIC, &now);
sbin/ping/ping.c
941
(void)clock_gettime(CLOCK_MONOTONIC, &now);
sbin/ping/ping.c
982
(void)clock_gettime(CLOCK_MONOTONIC, &last);
sbin/ping/ping6.c
1123
clock_gettime(CLOCK_MONOTONIC, &last);
sbin/ping/ping6.c
1159
clock_gettime(CLOCK_MONOTONIC, &now);
sbin/ping/ping6.c
1237
clock_gettime(CLOCK_MONOTONIC, &last);
sbin/ping/ping6.c
1382
(void)clock_gettime(CLOCK_MONOTONIC, &tv);
sbin/ping/ping6.c
1547
(void)clock_gettime(CLOCK_MONOTONIC, &tv);
sbin/route/route.c
1852
clock_gettime(CLOCK_REALTIME_FAST, &ts);
sbin/route/route.c
828
clock_gettime(CLOCK_REALTIME_FAST, &ts);
sbin/route/route_netlink.c
451
clock_gettime(CLOCK_REALTIME, &tp);
share/examples/libifconfig/status.c
160
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
sys/arm/allwinner/aw_rtc.c
175
DEVMETHOD(clock_gettime, aw_rtc_gettime),
sys/arm/freescale/imx/imx6_snvs.c
218
DEVMETHOD(clock_gettime, snvs_gettime),
sys/arm/mv/armada38x/armada38x_rtc.c
127
DEVMETHOD(clock_gettime, mv_rtc_gettime),
sys/arm/mv/rtc.c
81
DEVMETHOD(clock_gettime, mv_rtc_gettime),
sys/arm/nvidia/as3722.c
381
DEVMETHOD(clock_gettime, as3722_rtc_gettime),
sys/arm/nvidia/tegra_rtc.c
295
DEVMETHOD(clock_gettime, tegra_rtc_gettime),
sys/arm64/arm64/pl031_rtc.c
143
DEVMETHOD(clock_gettime, pl031_gettime),
sys/arm64/nvidia/tegra210/max77620_rtc.c
417
DEVMETHOD(clock_gettime, max77620_rtc_gettime),
sys/dev/dialog/da9063/da9063_rtc.c
284
DEVMETHOD(clock_gettime, da9063_rtc_gettime),
sys/dev/efidev/efirtc.c
189
DEVMETHOD(clock_gettime, efirtc_gettime),
sys/dev/goldfish/goldfish_rtc.c
173
DEVMETHOD(clock_gettime, goldfish_rtc_gettime),
sys/dev/iicbus/pmic/rockchip/rk8xx.c
186
DEVMETHOD(clock_gettime, rk8xx_gettime),
sys/dev/iicbus/rtc/ds1307.c
567
DEVMETHOD(clock_gettime, ds1307_gettime),
sys/dev/iicbus/rtc/ds13rtc.c
602
DEVMETHOD(clock_gettime, ds13rtc_gettime),
sys/dev/iicbus/rtc/ds1672.c
178
DEVMETHOD(clock_gettime, ds1672_gettime),
sys/dev/iicbus/rtc/ds3231.c
606
DEVMETHOD(clock_gettime, ds3231_gettime),
sys/dev/iicbus/rtc/hym8563.c
485
DEVMETHOD(clock_gettime, hym8563_gettime),
sys/dev/iicbus/rtc/isl12xx.c
343
DEVMETHOD(clock_gettime, isl12xx_gettime),
sys/dev/iicbus/rtc/nxprtc.c
1001
DEVMETHOD(clock_gettime, nxprtc_gettime),
sys/dev/iicbus/rtc/pcf85063.c
260
DEVMETHOD(clock_gettime, pcf85063_get_time),
sys/dev/iicbus/rtc/rtc8583.c
287
DEVMETHOD(clock_gettime, rtc8583_gettime),
sys/dev/iicbus/rtc/rv3032.c
440
DEVMETHOD(clock_gettime, rv3032_gettime),
sys/dev/iicbus/rtc/rx8803.c
236
DEVMETHOD(clock_gettime, rx8803_gettime),
sys/dev/iicbus/rtc/s35390a.c
353
DEVMETHOD(clock_gettime, s390rtc_gettime),
sys/dev/kvm_clock/kvm_clock.c
285
DEVMETHOD(clock_gettime, kvm_clock_gettime),
sys/dev/xen/timer/xen_timer.c
542
DEVMETHOD(clock_gettime, xentimer_gettime),
sys/kern/subr_stats.c
380
clock_gettime(CLOCK_MONOTONIC_FAST, &tp);
sys/powerpc/mpc85xx/ds1553_bus_fdt.c
61
DEVMETHOD(clock_gettime, ds1553_gettime),
sys/powerpc/powermac/cuda.c
101
DEVMETHOD(clock_gettime, cuda_gettime),
sys/powerpc/powermac/pmu.c
142
DEVMETHOD(clock_gettime, pmu_gettime),
sys/powerpc/powermac/smu.c
192
DEVMETHOD(clock_gettime, smu_gettime),
sys/powerpc/powernv/opal_dev.c
71
DEVMETHOD(clock_gettime, opal_gettime),
sys/powerpc/ps3/ps3bus.c
133
DEVMETHOD(clock_gettime, ps3_gettime),
sys/powerpc/pseries/rtas_dev.c
62
DEVMETHOD(clock_gettime, rtas_gettime),
sys/riscv/sifive/fe310_aon.c
301
DEVMETHOD(clock_gettime, feaon_rtc_gettime),
sys/x86/isa/atrtc.c
646
DEVMETHOD(clock_gettime, atrtc_gettime),
sys/x86/isa/atrtc.c
667
DEVMETHOD(clock_gettime, atrtc_gettime),
tests/sys/audit/administrative.c
130
ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_REALTIME, &tp));
tests/sys/audit/administrative.c
157
ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC, &tp));
tests/sys/audit/utils.c
150
ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC, &endtime));
tests/sys/audit/utils.c
156
ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC, &currtime));
tests/sys/capsicum/capmode.cc
313
EXPECT_OK(clock_gettime(CLOCK_REALTIME, &ts));
tests/sys/capsicum/linux.cc
1277
EXPECT_OK(clock_gettime(child_clock, &ts));
tests/sys/capsicum/linux.cc
1283
EXPECT_OK(clock_gettime(child_clock, &ts));
tests/sys/fs/fusefs/rename.cc
245
ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &timeout));
tests/sys/fs/fusefs/rename.cc
250
ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &now));
tests/sys/kern/listener_wakeup.c
263
clock_gettime(CLOCK_REALTIME, &ts);
tests/sys/kern/ptrace_test.c
4499
clock_gettime(CLOCK_MONOTONIC_PRECISE, &now);
tests/sys/kern/ptrace_test.c
4503
clock_gettime(CLOCK_MONOTONIC_PRECISE, &wake);
tests/sys/kern/sigwait.c
126
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &ts) == 0);
tests/sys/kern/sigwait.c
140
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &now) == 0);
tests/sys/kern/timerfd.c
100
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
1008
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, ¤t_time) == 0);
tests/sys/kern/timerfd.c
1058
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, ¤t_time) == 0);
tests/sys/kern/timerfd.c
1092
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, ¤t_time) == 0);
tests/sys/kern/timerfd.c
1186
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, ¤t_time) == 0);
tests/sys/kern/timerfd.c
1240
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, ¤t_time) == 0);
tests/sys/kern/timerfd.c
125
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
1284
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, ¤t_time) == 0);
tests/sys/kern/timerfd.c
130
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
164
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
169
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
205
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
223
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
248
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
268
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
377
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
395
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
528
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
536
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
546
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
564
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
587
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
620
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
670
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
810
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
817
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
856
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
863
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
95
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
962
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &its.it_value) == 0);
tests/sys/kern/unix_stream.c
506
ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC_PRECISE, &tp1));
tests/sys/kern/unix_stream.c
509
ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC_PRECISE, &tp2));
tests/sys/kqueue/libkqueue/timer.c
372
if (clock_gettime(CLOCK_BOOTTIME, &btp) != 0)
tests/sys/netmap/ctrl-api-test.c
1650
clock_gettime(CLOCK_REALTIME, &to);
tests/sys/netmap/ctrl-api-test.c
2206
clock_gettime(CLOCK_REALTIME, &t);
tools/regression/fsx/fsx.c
1113
if (clock_gettime(CLOCK_REALTIME, &now) != 0)
tools/regression/gaithrstress/gaithrstress.c
123
(void)clock_gettime(CLOCK_REALTIME, &ts_begintime);
tools/regression/gaithrstress/gaithrstress.c
125
(void)clock_gettime(CLOCK_REALTIME, &ts_total);
tools/regression/posixsem/posixsem.c
756
if (clock_gettime(CLOCK_REALTIME, &start) < 0) {
tools/regression/posixsem/posixsem.c
772
if (clock_gettime(CLOCK_REALTIME, &end) < 0) {
tools/regression/posixsem/posixsem.c
903
if (clock_gettime(CLOCK_REALTIME, &start) < 0) {
tools/regression/posixsem/posixsem.c
911
if (clock_gettime(CLOCK_REALTIME, &end) < 0) {
tools/regression/priv/priv_clock_settime.c
51
if (clock_gettime(CLOCK_REALTIME, &the_time) < 0) {
tools/regression/sockets/udp_pingpong/udp_pingpong.c
322
clock_gettime(get_clock_type(tcp), &tcp->test_pkts[pnum].tss[fdidx].sent);
tools/regression/sockets/udp_pingpong/udp_pingpong.c
422
clock_gettime(get_clock_type(tcp), tp);
tools/regression/sockets/unix_cmsg/uc_check_time.c
64
if (clock_gettime(CLOCK_REALTIME, &ct) < 0)
tools/regression/sockets/unix_cmsg/uc_check_time.c
78
if (clock_gettime(CLOCK_MONOTONIC, &ct) < 0)
tools/test/gpioevents/gpioevents.c
159
clock_gettime(CLOCK_MONOTONIC, &monotime);
tools/test/gpioevents/gpioevents.c
160
clock_gettime(CLOCK_REALTIME, &utctime);
tools/tools/netmap/nmreplay.c
681
clock_gettime(CLOCK_REALTIME, &t); // XXX precise on FreeBSD ?
tools/tools/netmap/pkt-gen.c
1367
clock_gettime(CLOCK_REALTIME_PRECISE, &cur);
tools/tools/netmap/pkt-gen.c
1413
clock_gettime(CLOCK_REALTIME_PRECISE, &last_print);
tools/tools/netmap/pkt-gen.c
1448
clock_gettime(CLOCK_REALTIME_PRECISE, &ts);
tools/tools/netmap/pkt-gen.c
1495
clock_gettime(CLOCK_REALTIME_PRECISE, &now);
tools/tools/netmap/pkt-gen.c
1706
clock_gettime(CLOCK_REALTIME_PRECISE, &targ->tic);
tools/tools/netmap/pkt-gen.c
1865
clock_gettime(CLOCK_REALTIME_PRECISE, &targ->toc);
tools/tools/netmap/pkt-gen.c
1957
clock_gettime(CLOCK_REALTIME_PRECISE, &targ->tic);
tools/tools/netmap/pkt-gen.c
1993
clock_gettime(CLOCK_REALTIME_PRECISE, &targ->toc);
tools/tools/netmap/pkt-gen.c
2028
clock_gettime(CLOCK_REALTIME_PRECISE, &targ->toc);
tools/tools/netmap/pkt-gen.c
2077
clock_gettime(CLOCK_REALTIME_PRECISE, &targ->tic);
tools/tools/netmap/pkt-gen.c
2217
clock_gettime(CLOCK_REALTIME_PRECISE, &targ->toc);
tools/tools/netmap/pkt-gen.c
2291
clock_gettime(CLOCK_REALTIME_PRECISE, &targ->tic);
tools/tools/netmap/pkt-gen.c
2306
clock_gettime(CLOCK_REALTIME_PRECISE, &targ->toc);
tools/tools/netmap/pkt-gen.c
2421
clock_gettime(CLOCK_REALTIME_PRECISE, &targ->toc);
tools/tools/netrate/juggle/juggle.c
238
if (clock_gettime(CLOCK_REALTIME, &tstart) < 0)
tools/tools/netrate/juggle/juggle.c
262
if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0)
tools/tools/netrate/juggle/juggle.c
340
if (clock_gettime(CLOCK_REALTIME, &tstart) < 0)
tools/tools/netrate/juggle/juggle.c
355
if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0)
tools/tools/netrate/juggle/juggle.c
413
if (clock_gettime(CLOCK_REALTIME, &tstart) < 0)
tools/tools/netrate/juggle/juggle.c
436
if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0)
tools/tools/netrate/netblast/netblast.c
120
if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) {
tools/tools/netrate/netblast/netblast.c
83
if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) {
tools/tools/netrate/netreceive/netreceive.c
163
clock_gettime(CLOCK_REALTIME, &then);
tools/tools/netrate/netreceive/netreceive.c
178
clock_gettime(CLOCK_REALTIME, &now);
tools/tools/netrate/netsend/netsend.c
107
if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) {
tools/tools/netrate/netsend/netsend.c
118
if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) {
tools/tools/netrate/netsend/netsend.c
172
if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) {
tools/tools/netrate/netsend/netsend.c
250
if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) {
tools/tools/netrate/tcpp/tcpp_client.c
291
if (clock_gettime(CLOCK_REALTIME, &ts_start) < 0)
tools/tools/netrate/tcpp/tcpp_client.c
321
if (clock_gettime(CLOCK_REALTIME, &ts_finish) < 0)
tools/tools/so_splice/pingpong.c
140
clock_gettime(CLOCK_MONOTONIC, &ts1);
tools/tools/so_splice/pingpong.c
149
clock_gettime(CLOCK_MONOTONIC, &ts2);
tools/tools/syscall_timing/syscall_timing.c
149
(void)clock_gettime(CLOCK_REALTIME, &ts);
tools/tools/syscall_timing/syscall_timing.c
79
error = clock_gettime(CLOCK_REALTIME, &ts_start);
tools/tools/syscall_timing/syscall_timing.c
88
error = clock_gettime(CLOCK_REALTIME, &ts_end);
usr.bin/grdc/grdc.c
148
clock_gettime(CLOCK_REALTIME_FAST, &now);
usr.bin/grdc/grdc.c
220
clock_gettime(CLOCK_REALTIME_FAST, &now);
usr.bin/grdc/grdc.c
230
clock_gettime(CLOCK_REALTIME_FAST, &now);
usr.bin/mail/util.c
321
(void)clock_gettime(CLOCK_REALTIME, &ts[0]);
usr.bin/mkuzip/mkuz_time.c
39
if (clock_gettime(CLOCK_MONOTONIC, &tp) == -1)
usr.bin/netstat/route.c
132
if (clock_gettime(CLOCK_UPTIME, &uptime) < 0)
usr.bin/nfsstat/nfsstat.c
1134
clock_gettime(CLOCK_MONOTONIC, &lastts);
usr.bin/nfsstat/nfsstat.c
1144
clock_gettime(CLOCK_MONOTONIC, &ts);
usr.bin/tcopy/tcopy.cc
524
(void)clock_gettime(CLOCK_MONOTONIC, &t_end);
usr.bin/tcopy/tcopy.cc
552
(void)clock_gettime(CLOCK_MONOTONIC, &t_end);
usr.bin/tcopy/tcopy.cc
637
(void)clock_gettime(CLOCK_MONOTONIC, &t_start);
usr.bin/tcopy/tcopy.cc
659
(void)clock_gettime(CLOCK_MONOTONIC, &t_end);
usr.bin/tcopy/tcopy.cc
675
(void)clock_gettime(CLOCK_MONOTONIC, &t_start);
usr.bin/tcopy/tcopy.cc
697
(void)clock_gettime(CLOCK_MONOTONIC, &t_end);
usr.bin/time/time.c
112
if (clock_gettime(CLOCK_MONOTONIC, &before_ts))
usr.bin/time/time.c
135
if (clock_gettime(CLOCK_MONOTONIC, &after))
usr.bin/time/time.c
141
if (clock_gettime(CLOCK_MONOTONIC, &after))
usr.bin/top/machine.c
869
if (clock_gettime(CLOCK_UPTIME, &proc_uptime) != 0)
usr.bin/truss/main.c
197
clock_gettime(CLOCK_REALTIME, &trussinfo->start_time);
usr.bin/truss/setup.c
502
clock_gettime(CLOCK_REALTIME, &t->before);
usr.bin/truss/setup.c
521
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
540
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
627
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
638
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
650
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
667
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/truss/setup.c
734
clock_gettime(CLOCK_REALTIME, &t->after);
usr.bin/vmstat/vmstat.c
476
(void)clock_gettime(CLOCK_UPTIME, &sp);
usr.bin/w/w.c
500
if (clock_gettime(CLOCK_UPTIME, &tp) != -1) {
usr.sbin/arp/arp.c
651
clock_gettime(CLOCK_MONOTONIC, &tp);
usr.sbin/arp/arp.c
783
clock_gettime(CLOCK_MONOTONIC, &tp);
usr.sbin/bhyve/pci_hda.c
1222
err = clock_gettime(CLOCK_MONOTONIC, &ts);
usr.sbin/bhyve/slirp/slirp-helper.c
76
error = clock_gettime(CLOCK_MONOTONIC, &ts);
usr.sbin/bluetooth/bthidd/btuinput.c
438
if (clock_gettime(CLOCK_MONOTONIC_FAST, &now) == -1)
usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c
119
clock_gettime(CLOCK_MONOTONIC, &now);
usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.c
72
clock_gettime(CLOCK_MONOTONIC, &now);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c
77
if (clock_gettime(CLOCK_UPTIME, &ts)) {
usr.sbin/camdd/camdd.c
3168
error = clock_gettime(CLOCK_MONOTONIC_PRECISE, &done_time);
usr.sbin/camdd/camdd.c
3340
error = clock_gettime(CLOCK_MONOTONIC_PRECISE, &start_time);
usr.sbin/cron/cron/cron.c
401
clock_gettime(CLOCK_REALTIME, &ctime);
usr.sbin/inetd/inetd.c
682
(void)clock_gettime(CLOCK_MONOTONIC_FAST, &sep->se_time);
usr.sbin/inetd/inetd.c
686
(void)clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/jail/command.c
238
clock_gettime(CLOCK_REALTIME, &ts);
usr.sbin/jail/command.c
682
clock_gettime(CLOCK_REALTIME, &j->timeout);
usr.sbin/jail/command.c
960
clock_gettime(CLOCK_REALTIME, &j->timeout);
usr.sbin/lpr/common_source/common.c
470
if (clock_gettime(CLOCK_REALTIME, tsp)) {
usr.sbin/makefs/makefs.c
128
ch = clock_gettime(CLOCK_REALTIME, &start_time);
usr.sbin/mountd/mountd.c
758
clock_gettime(CLOCK_MONOTONIC, &tp);
usr.sbin/mountd/mountd.c
766
clock_gettime(CLOCK_MONOTONIC, &tp);
usr.sbin/moused/moused/moused.c
1058
clock_gettime(CLOCK_REALTIME, &ts);
usr.sbin/moused/moused/moused.c
1572
clock_gettime(CLOCK_MONOTONIC_FAST, &ts);
usr.sbin/moused/moused/moused.c
2519
clock_gettime(CLOCK_MONOTONIC_FAST,
usr.sbin/moused/moused/moused.c
2710
clock_gettime(CLOCK_MONOTONIC_FAST, &ts1);
usr.sbin/moused/moused/moused.c
2764
clock_gettime(CLOCK_MONOTONIC_FAST, &ts1);
usr.sbin/moused/msconvd/msconvd.c
2438
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/nscd/nscd.c
573
clock_gettime(CLOCK_MONOTONIC, &res);
usr.sbin/pmc/cmd_pmc_stat.c
240
if (clock_gettime(CLOCK_MONOTONIC, &before_ts))
usr.sbin/pmc/cmd_pmc_stat.c
257
if (clock_gettime(CLOCK_MONOTONIC, &after))
usr.sbin/rarpd/rarpd.c
777
clock_gettime(CLOCK_MONOTONIC, &tp);
usr.sbin/rpc.tlsservd/rpc.tlscommon.c
72
clock_gettime(CLOCK_MONOTONIC, &tp);
usr.sbin/rpc.tlsservd/rpc.tlscommon.c
85
clock_gettime(CLOCK_MONOTONIC, &tp);
usr.sbin/rtadvctl/rtadvctl.c
470
clock_gettime(CLOCK_REALTIME_FAST, &now);
usr.sbin/rtadvctl/rtadvctl.c
471
clock_gettime(CLOCK_MONOTONIC_FAST, &ts);
usr.sbin/rtadvctl/rtadvctl.c
768
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtadvd/config.c
1530
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtadvd/config.c
586
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtadvd/config.c
607
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtadvd/rrenum.c
231
clock_gettime(CLOCK_MONOTONIC_FAST,
usr.sbin/rtadvd/rrenum.c
239
clock_gettime(CLOCK_MONOTONIC_FAST,
usr.sbin/rtadvd/rtadvd.c
1025
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtadvd/rtadvd.c
1282
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtadvd/rtadvd.c
1315
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtadvd/rtadvd.c
1781
clock_gettime(CLOCK_MONOTONIC_FAST, &ifi->ifi_ra_lastsent);
usr.sbin/rtadvd/timer.c
160
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtadvd/timer.c
190
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtadvd/timer_subr.c
49
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtsold/dump.c
167
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtsold/dump.c
71
(void)clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtsold/rtsol.c
340
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtsold/rtsol.c
563
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtsold/rtsold.c
559
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/rtsold/rtsold.c
764
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
usr.sbin/uhsoctl/uhsoctl.c
259
clock_gettime(CLOCK_MONOTONIC, &tp),
usr.sbin/uhsoctl/uhsoctl.c
304
clock_gettime(CLOCK_MONOTONIC, &tp);
usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
50
clock_gettime(CLOCK_MONOTONIC, &ts);
usr.sbin/watchdogd/watchdogd.c
262
error = clock_gettime(CLOCK_UPTIME_FAST, tp);