Symbol: clock_gettime
bin/csh/dol.c
832
(void)clock_gettime(CLOCK_MONOTONIC, &tv);
bin/csh/proc.c
123
(void)clock_gettime(CLOCK_MONOTONIC, &pp->p_etime);
bin/csh/proc.c
514
(void)clock_gettime(CLOCK_MONOTONIC, &pp->p_btime);
bin/csh/time.c
61
(void)clock_gettime(CLOCK_MONOTONIC, &time0);
bin/csh/time.c
81
(void)clock_gettime(CLOCK_MONOTONIC, &timedol);
bin/sleep/sleep.c
178
if (clock_gettime(CLOCK_MONOTONIC, &now) != 0)
bin/sleep/sleep.c
200
if (clock_gettime(CLOCK_MONOTONIC, &now) != 0) /* Huh? */
crypto/dist/ipsec-tools/src/racoon/schedule.c
69
clock_gettime(CLOCK_MONOTONIC, &ts);
games/adventure/save.c
688
clock_gettime(CLOCK_REALTIME, &now);
games/warp/util.h
21
#define roundsleep(x) (clock_gettime(CLOCK_REALTIME, &timebuf),sleep(timebuf.tv_nsec > (500 * 1000 * 1000) ?x+1:x))
include/time.h
163
int clock_gettime(clockid_t, struct timespec *)
lib/libc/compat/include/time.h
73
int clock_gettime(clockid_t, struct timespec50 *);
lib/libc/compat/sys/compat_clock.c
46
__warn_references(clock_gettime,
lib/libc/compat/sys/compat_clock.c
56
__weak_alias(clock_gettime, _clock_gettime)
lib/libc/gen/timespec_get.c
50
if (clock_gettime(CLOCK_REALTIME, ts) == -1)
lib/libc/gen/timespec_get.c
54
if (clock_gettime(CLOCK_MONOTONIC, ts) == -1)
lib/libc/isc/ev_timers.c
136
if (clock_gettime(m, &tsnow) == 0)
lib/libc/isc/ev_timers.c
149
if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0)
lib/libc/time/localtime.c
2090
clock_gettime(CLOCK_MONOTONIC_COARSE, &now);
lib/libcrypt/crypt-argon2.c
213
if (clock_gettime(CLOCK_MONOTONIC, &tp1) == -1)
lib/libcrypt/crypt-argon2.c
224
if (clock_gettime(CLOCK_MONOTONIC, &tp2) == -1)
lib/libperfuse/debug.c
143
if (clock_gettime(CLOCK_REALTIME, &pt->pt_start) != 0)
lib/libperfuse/debug.c
166
if (clock_gettime(CLOCK_REALTIME, &pt->pt_end) != 0)
lib/libperfuse/ops.c
377
if (clock_gettime(CLOCK_REALTIME, &now) != 0)
lib/librumpuser/rumpfiber.c
133
rv = clock_gettime(CLOCK_MONOTONIC, &ts);
lib/librumpuser/rumpfiber.c
351
clock_gettime(CLOCK_REALTIME, &ts);
lib/librumpuser/rumpfiber.c
473
if (clock_gettime(clk, &ts) == -1) {
lib/librumpuser/rumpuser.c
102
if (clock_gettime(clk, &ts) == -1) {
lib/librumpuser/rumpuser.c
146
if ((rv = clock_gettime(CLOCK_REALTIME, &ts)) == -1)
lib/librumpuser/rumpuser_pth.c
593
clock_gettime(CLOCK_REALTIME, &ts);
libexec/httpd/bozohttpd.c
692
if (clock_gettime(CLOCK_MONOTONIC, &ots) != 0) {
libexec/httpd/bozohttpd.c
709
if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) {
regress/sys/kern/latency1/latency1.c
135
clock_gettime(CLOCK_MONOTONIC, &start);
regress/sys/kern/latency1/latency1.c
78
clock_gettime(CLOCK_MONOTONIC, &end);
regress/sys/kern/latency2/latency2.c
143
clock_gettime(CLOCK_MONOTONIC, &start);
regress/sys/kern/latency2/latency2.c
77
clock_gettime(CLOCK_MONOTONIC, &end);
regress/sys/kern/nameibench/nameibench.c
127
if (clock_gettime(CLOCK_MONOTONIC, &sts)) {
regress/sys/kern/nameibench/nameibench.c
137
if (clock_gettime(CLOCK_MONOTONIC, &ets)) {
sbin/cgdconfig/argon2_utils.c
113
if (clock_gettime(CLOCK_MONOTONIC, &tp1) == -1)
sbin/cgdconfig/argon2_utils.c
124
if (clock_gettime(CLOCK_MONOTONIC, &tp2) == -1)
sbin/cgdconfig/argon2_utils.c
144
if (clock_gettime(CLOCK_MONOTONIC, &tp1) == -1)
sbin/cgdconfig/argon2_utils.c
155
if (clock_gettime(CLOCK_MONOTONIC, &tp2) == -1)
sbin/fsck_udf/main.c
233
clock_gettime(CLOCK_REALTIME, &clock);
sbin/ifconfig/ifconfig.c
543
if (clock_gettime(CLOCK_MONOTONIC, &now) == -1)
sbin/ifconfig/ifconfig.c
581
if (clock_gettime(CLOCK_MONOTONIC, &now) == -1)
sbin/newfs_udf/udf_core.c
1007
(void)clock_gettime(CLOCK_REALTIME, &now);
sbin/ping/ping.c
729
clock_gettime(CLOCK_MONOTONIC, &now);
sbin/ping/ping.c
746
(void)clock_gettime(CLOCK_MONOTONIC, &clear_cache);
sbin/ping/ping.c
756
clock_gettime(CLOCK_MONOTONIC, &now);
sbin/ping/ping.c
817
clock_gettime(CLOCK_MONOTONIC, &now);
sbin/ping/ping.c
939
(void)clock_gettime(CLOCK_MONOTONIC, &clear_cache);
sbin/ping6/ping6.c
919
clock_gettime(CLOCK_MONOTONIC, &now);
sbin/ping6/ping6.c
933
clock_gettime(CLOCK_MONOTONIC, &now);
sys/arch/usermode/usermode/thunk.c
289
error = clock_gettime(CLOCK_MONOTONIC, &ts);
sys/rump/librump/rumpkern/rump_syscalls.c
5234
__weak_alias(clock_gettime,rump___sysimpl_clock_gettime50);
tests/kernel/kqueue/t_timer.c
113
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC,
tests/kernel/kqueue/t_timer.c
131
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC,
tests/kernel/kqueue/t_timer.c
147
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0);
tests/kernel/kqueue/t_timer.c
151
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts) == 0);
tests/kernel/kqueue/t_timer.c
284
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &ots) == 0);
tests/kernel/kqueue/t_timer.c
293
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &ts) == 0);
tests/kernel/kqueue/t_timer.c
321
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0);
tests/kernel/kqueue/t_timer.c
323
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts) == 0);
tests/kernel/kqueue/t_timer.c
99
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0);
tests/kernel/t_nanosleep.c
104
if (clock_gettime(clock, &after) != 0)
tests/kernel/t_nanosleep.c
70
if (clock_gettime(clock, &before) != 0)
tests/lib/libc/gen/t_sleep.c
300
clock_gettime(CLOCK_REALTIME, &tsa);
tests/lib/libc/gen/t_sleep.c
302
clock_gettime(CLOCK_REALTIME, &tsb);
tests/lib/libc/gen/t_timespec_get.c
100
ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &ts2), 0);
tests/lib/libc/gen/t_timespec_get.c
72
ATF_REQUIRE_EQ(clock_gettime(CLOCK_REALTIME, &ts2), 0);
tests/lib/libc/sys/t_clock_gettime.c
102
CL(clock_gettime(CLOCK_REALTIME, &tsa));
tests/lib/libc/sys/t_clock_gettime.c
111
CL(clock_gettime(CLOCK_REALTIME, &tsb));
tests/lib/libc/sys/t_clock_gettime.c
244
RL(clock_gettime(CLOCK_MONOTONIC, &mono_t0));
tests/lib/libc/sys/t_clock_gettime.c
245
RL(clock_gettime(clockid, &t0));
tests/lib/libc/sys/t_clock_gettime.c
252
RL(clock_gettime(clockid, &t1));
tests/lib/libc/sys/t_clock_gettime.c
261
RL(clock_gettime(CLOCK_MONOTONIC, &mono_t1));
tests/lib/libc/sys/t_clock_nanosleep.c
51
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &rqtp) == 0);
tests/lib/libc/sys/t_eventfd.c
107
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &deadline) == 0);
tests/lib/libc/sys/t_futex_ops.c
1313
RL(clock_gettime(clock, &deadline));
tests/lib/libc/sys/t_futex_ops.c
1329
RL(clock_gettime(clock, &ts));
tests/lib/libc/sys/t_nanosleep.c
73
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts1) == 0);
tests/lib/libc/sys/t_nanosleep.c
75
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts2) == 0);
tests/lib/libc/sys/t_poll.c
480
RL(clock_gettime(CLOCK_MONOTONIC, &ts1));
tests/lib/libc/sys/t_poll.c
483
RL(clock_gettime(CLOCK_MONOTONIC, &ts2));
tests/lib/libc/sys/t_poll.c
572
RL(clock_gettime(CLOCK_MONOTONIC, &start));
tests/lib/libc/sys/t_poll.c
574
RL(clock_gettime(CLOCK_MONOTONIC, &end));
tests/lib/libc/sys/t_poll.c
643
RL(clock_gettime(CLOCK_MONOTONIC, &start));
tests/lib/libc/sys/t_poll.c
645
RL(clock_gettime(CLOCK_MONOTONIC, &end));
tests/lib/libc/sys/t_sigtimedwait.c
70
RL(clock_gettime(CLOCK_MONOTONIC, &before));
tests/lib/libc/sys/t_sigtimedwait.c
73
RL(clock_gettime(CLOCK_MONOTONIC, &after));
tests/lib/libc/sys/t_timer_create.c
130
RL(clock_gettime(cid, &t0));
tests/lib/libc/sys/t_timer_create.c
141
RL(clock_gettime(cid, &t1));
tests/lib/libc/sys/t_timer_create.c
444
RL(clock_gettime(CLOCK_MONOTONIC, &now));
tests/lib/libc/sys/t_timerfd.c
216
RL(clock_gettime(CLOCK_MONOTONIC, &now));
tests/lib/libc/sys/t_timerfd.c
266
RL(clock_gettime(CLOCK_MONOTONIC, &then));
tests/lib/libc/sys/t_timerfd.c
279
RL(clock_gettime(CLOCK_MONOTONIC, &now));
tests/lib/libc/sys/t_timerfd.c
313
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
tests/lib/libc/sys/t_timerfd.c
322
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &now) == 0);
tests/lib/libc/sys/t_timerfd.c
356
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
tests/lib/libc/sys/t_timerfd.c
359
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &now) == 0);
tests/lib/libc/sys/t_timerfd.c
394
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
tests/lib/libc/sys/t_timerfd.c
407
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &now) == 0);
tests/lib/libc/sys/t_timerfd.c
441
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &now) == 0);
tests/lib/libc/sys/t_timerfd.c
461
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &now) == 0);
tests/lib/libc/sys/t_timerfd.c
660
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
tests/lib/libc/sys/t_timerfd.c
663
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &now) == 0);
tests/lib/libc/sys/t_timerfd.c
671
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
tests/lib/libc/sys/t_timerfd.c
674
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &now) == 0);
tests/lib/libc/sys/t_timerfd.c
680
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
tests/lib/libc/sys/t_timerfd.c
683
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &now) == 0);
tests/lib/libc/sys/t_timerfd.c
737
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0);
tests/lib/libc/sys/t_timerfd.c
748
ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &now) == 0);
tests/lib/libpthread/t_cond.c
316
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &ts) == 0);
tests/lib/libpthread/t_condwait.c
68
ATF_REQUIRE_EQ(clock_gettime(clck, &ts), 0);
tests/lib/libpthread/t_condwait.c
80
ATF_REQUIRE_EQ(clock_gettime(clck, &te), 0);
tests/lib/libpthread/t_mutex.c
69
ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &ts_wait) != -1);
tests/lib/libpthread/t_rwlock.c
100
ATF_REQUIRE_EQ_MSG(clock_gettime(CLOCK_REALTIME, &to), 0,
tests/lib/libpthread/t_rwlock.c
109
ATF_REQUIRE_EQ_MSG(clock_gettime(CLOCK_REALTIME, &to), 0,
tests/lib/libpthread/t_rwlock.c
114
ATF_REQUIRE_EQ_MSG(clock_gettime(CLOCK_REALTIME, &to), 0,
tests/lib/libpthread/t_thrd.c
190
ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &start), 0);
tests/lib/libpthread/t_thrd.c
192
ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &stop), 0);
tests/lib/libpthread/t_thrd.c
206
ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &start), 0);
tests/lib/libpthread/t_thrd.c
208
ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &stop), 0);
tests/lib/semaphore/sem.c
221
clock_gettime(CLOCK_REALTIME, &tp);
tests/net/mcast/mcast.c
285
if (clock_gettime(CLOCK_MONOTONIC, &msg.ts) == -1)
usr.bin/rump_dhcpclient/common.c
91
if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) {
usr.bin/rump_dhcpclient/common.c
98
if (clock_gettime(posix_clock, &ts) == 0) {
usr.bin/time/time.c
123
(void)clock_gettime(CLOCK_MONOTONIC, &before);
usr.bin/time/time.c
140
(void)clock_gettime(CLOCK_MONOTONIC, &after);
usr.bin/touch/touch.c
102
if (clock_gettime(CLOCK_REALTIME, &ts[0]))
usr.bin/vmstat/vmstat.c
645
clock_gettime(CLOCK_REALTIME, &now);
usr.sbin/inetd/ratelimit.c
229
if (clock_gettime(CLOCK_MONOTONIC, &ts) == -1) {
usr.sbin/makefs/makefs.c
125
ch = clock_gettime(CLOCK_REALTIME, &start_time);
usr.sbin/rtadvd/prog_ops.h
81
#define prog_clock_gettime clock_gettime
usr.sbin/rtadvd/rtadvd_hostops.c
40
.op_clock_gettime = clock_gettime,