Symbol: CLOCK_MONOTONIC
bin/dd/dd.c
306
if (clock_gettime(CLOCK_MONOTONIC, &st.start))
bin/dd/misc.c
59
if (clock_gettime(CLOCK_MONOTONIC, &end))
bin/dd/misc.c
61
if (clock_getres(CLOCK_MONOTONIC, &ts_res))
crypto/krb5/src/util/verto/ev.c
1885
clock_gettime (CLOCK_MONOTONIC, &ts);
crypto/krb5/src/util/verto/ev.c
2855
if (!clock_gettime (CLOCK_MONOTONIC, &ts))
crypto/krb5/src/util/verto/ev.c
400
#ifndef CLOCK_MONOTONIC
crypto/openssh/misc.c
1791
defined(CLOCK_MONOTONIC) || defined(CLOCK_REALTIME))
crypto/openssh/misc.c
1799
# ifdef CLOCK_MONOTONIC
crypto/openssh/misc.c
1800
if (clock_gettime(CLOCK_MONOTONIC, ts) == 0)
crypto/openssl/providers/implementations/rands/seeding/rand_vxworks.c
57
if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
lib/libc/gen/times.c
58
if (clock_gettime(CLOCK_MONOTONIC, &t))
lib/libc/gen/timespec_get.c
48
if (clock_gettime(CLOCK_MONOTONIC, ts) == -1)
lib/libc/gen/timespec_getres.c
19
if (clock_getres(CLOCK_MONOTONIC, ts) == 0)
lib/libc/isc/ev_timers.c
122
#ifdef CLOCK_MONOTONIC
lib/libc/isc/ev_timers.c
124
m = CLOCK_MONOTONIC;
lib/libc/tests/gen/fts_regress_test.c
143
clock_gettime(CLOCK_MONOTONIC, &start);
lib/libc/tests/gen/fts_regress_test.c
145
clock_gettime(CLOCK_MONOTONIC, &now);
lib/libc/tests/gen/fts_regress_test.c
247
clock_gettime(CLOCK_MONOTONIC, &start);
lib/libc/tests/gen/fts_regress_test.c
249
clock_gettime(CLOCK_MONOTONIC, &now);
lib/libc/tests/gen/fts_regress_test.c
289
clock_gettime(CLOCK_MONOTONIC, &start);
lib/libc/tests/gen/fts_regress_test.c
291
clock_gettime(CLOCK_MONOTONIC, &now);
lib/libdevstat/devstat.c
353
clock_gettime(CLOCK_MONOTONIC, &ts);
lib/libsys/__vdso_gettimeofday.c
176
case CLOCK_MONOTONIC:
lib/libthr/thread/thr_condattr.c
100
clock_id != CLOCK_MONOTONIC) {
lib/libusb/libusb10.c
277
if (pthread_condattr_setclock(&attr, CLOCK_MONOTONIC) != 0) {
lib/libusb/libusb10_io.c
328
err = clock_gettime(CLOCK_MONOTONIC, &ts);
libexec/bootpd/rtmsg.c
136
clock_gettime(CLOCK_MONOTONIC, &tp);
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/hastd/synch.h
144
error = pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
sbin/hastd/synch.h
171
error = clock_gettime(CLOCK_MONOTONIC, &ts);
sbin/ping/ping.c
1025
(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
1127
clock_gettime(CLOCK_MONOTONIC, &last);
sbin/ping/ping6.c
1164
clock_gettime(CLOCK_MONOTONIC, &now);
sbin/ping/ping6.c
1242
clock_gettime(CLOCK_MONOTONIC, &last);
sbin/ping/ping6.c
1389
(void)clock_gettime(CLOCK_MONOTONIC, &tv);
sbin/ping/ping6.c
1556
(void)clock_gettime(CLOCK_MONOTONIC, &tv);
sys/compat/linux/linux_futex.c
803
clockid = args->clockrt ? CLOCK_REALTIME : CLOCK_MONOTONIC;
sys/compat/linux/linux_time.c
306
*n = CLOCK_MONOTONIC;
sys/compat/linuxkpi/common/include/linux/hrtimer.h
59
CTASSERT((clock) == CLOCK_MONOTONIC); \
sys/dev/evdev/cdev.c
568
case CLOCK_MONOTONIC:
sys/kern/kern_time.c
1187
register_posix_clock(CLOCK_MONOTONIC, &rt_clock);
sys/kern/kern_time.c
360
case CLOCK_MONOTONIC: /* Default to precise. */
sys/kern/kern_time.c
466
case CLOCK_MONOTONIC:
sys/kern/kern_time.c
544
case CLOCK_MONOTONIC:
sys/kern/kern_umtx.c
737
case CLOCK_MONOTONIC:
sys/kern/sys_timerfd.c
447
case CLOCK_MONOTONIC:
sys/sys/_clock_id.h
85
#define CLOCK_BOOTTIME CLOCK_MONOTONIC
tests/sys/audit/administrative.c
157
ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC, &tp));
tests/sys/audit/administrative.c
161
ATF_REQUIRE_EQ(-1, clock_settime(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/linux.cc
32
int fd = timerfd_create(CLOCK_MONOTONIC, 0);
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/timerfd.c
100
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
112
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
tests/sys/kern/timerfd.c
125
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
130
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
151
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
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
192
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
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
235
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
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
299
fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | TFD_NONBLOCK);
tests/sys/kern/timerfd.c
335
int fd = timerfd_create(CLOCK_MONOTONIC, 0);
tests/sys/kern/timerfd.c
365
int timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
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
410
int timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
tests/sys/kern/timerfd.c
490
timerfd_create(CLOCK_MONOTONIC | 42, TFD_CLOEXEC));
tests/sys/kern/timerfd.c
492
timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | 42));
tests/sys/kern/timerfd.c
505
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
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
558
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
tests/sys/kern/timerfd.c
564
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
57
timer_fds[i] = timerfd_create(CLOCK_MONOTONIC, /**/
tests/sys/kern/timerfd.c
587
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &e) == 0);
tests/sys/kern/timerfd.c
614
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
tests/sys/kern/timerfd.c
620
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
664
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
tests/sys/kern/timerfd.c
670
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tests/sys/kern/timerfd.c
718
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
tests/sys/kern/timerfd.c
750
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
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
84
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
tests/sys/kern/timerfd.c
843
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
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
882
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
tests/sys/kern/timerfd.c
921
int timerfd = timerfd_create(CLOCK_MONOTONIC, /**/
tests/sys/kern/timerfd.c
95
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &b) == 0);
tools/regression/sockets/udp_pingpong/udp_pingpong.c
132
return (CLOCK_MONOTONIC);
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/tools/so_splice/pingpong.c
140
clock_gettime(CLOCK_MONOTONIC, &ts1);
tools/tools/so_splice/pingpong.c
149
clock_gettime(CLOCK_MONOTONIC, &ts2);
usr.bin/grep/util.c
762
clock_gettime(CLOCK_MONOTONIC, &now);
usr.bin/mkuzip/mkuz_time.c
39
if (clock_gettime(CLOCK_MONOTONIC, &tp) == -1)
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.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/iwmbtfw/iwmbt_hw.c
118
clock_gettime(CLOCK_MONOTONIC, &now);
usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.c
72
clock_gettime(CLOCK_MONOTONIC, &now);
usr.sbin/mountd/mountd.c
758
clock_gettime(CLOCK_MONOTONIC, &tp);
usr.sbin/mountd/mountd.c
766
clock_gettime(CLOCK_MONOTONIC, &tp);
usr.sbin/nscd/nscd.c
573
clock_gettime(CLOCK_MONOTONIC, &res);
usr.sbin/pmc/cmd_pmc_record.cc
561
status = clock_gettime(CLOCK_MONOTONIC, &end);
usr.sbin/pmc/cmd_pmc_record.cc
695
if (clock_gettime(CLOCK_MONOTONIC, &start) < 0)
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/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);