Home
last modified time | relevance | path

Searched refs:clock_gettime (Results 1 – 25 of 234) sorted by relevance

12345678910

/freebsd-12-stable/contrib/netbsd-tests/lib/libpthread/
Dt_rwlock.c100 ATF_REQUIRE_EQ_MSG(clock_gettime(CLOCK_REALTIME, &to), 0, in ATF_TC_BODY()
109 ATF_REQUIRE_EQ_MSG(clock_gettime(CLOCK_REALTIME, &to), 0, in ATF_TC_BODY()
114 ATF_REQUIRE_EQ_MSG(clock_gettime(CLOCK_REALTIME, &to), 0, in ATF_TC_BODY()
Dt_condwait.c68 ATF_REQUIRE_EQ(clock_gettime(clck, &ts), 0); in run()
80 ATF_REQUIRE_EQ(clock_gettime(clck, &te), 0); in run()
/freebsd-12-stable/contrib/netbsd-tests/lib/librt/
Dt_sem.c218 ATF_REQUIRE_MSG(clock_gettime(CLOCK_REALTIME, &ts) == 0, in ATF_TC_BODY()
234 ATF_REQUIRE_MSG(clock_gettime(CLOCK_REALTIME, &ts) == 0, in ATF_TC_BODY()
256 ATF_REQUIRE_MSG(clock_gettime(CLOCK_REALTIME, &ts) == 0, in ATF_TC_BODY()
265 ATF_REQUIRE_MSG(clock_gettime(CLOCK_MONOTONIC, &ts) == 0, in ATF_TC_BODY()
288 ATF_REQUIRE_MSG(clock_gettime(CLOCK_MONOTONIC, &ts) == 0, in ATF_TC_BODY()
/freebsd-12-stable/tools/tools/netrate/juggle/
Djuggle.c240 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) in juggle()
264 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0) in juggle()
342 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) in thread_juggle()
357 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0) in thread_juggle()
415 if (clock_gettime(CLOCK_REALTIME, &tstart) < 0) in process_juggle()
438 if (clock_gettime(CLOCK_REALTIME, &tfinish) < 0) in process_juggle()
/freebsd-12-stable/contrib/gcclibs/libgomp/config/posix/
Dtime.c54 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) in omp_get_wtime()
56 clock_gettime (CLOCK_REALTIME, &ts); in omp_get_wtime()
/freebsd-12-stable/contrib/nvi/common/
Dutil.c323 (void)clock_gettime(CLOCK_MONOTONIC_FAST, ts);
325 (void)clock_gettime(CLOCK_MONOTONIC, ts);
353 (void)clock_gettime(CLOCK_REALTIME_FAST, ts);
355 (void)clock_gettime(CLOCK_REALTIME, ts);
/freebsd-12-stable/tools/regression/sockets/unix_cmsg/
Duc_check_time.c66 if (clock_gettime(CLOCK_REALTIME, &ct) < 0) in uc_check_timespec_real()
80 if (clock_gettime(CLOCK_MONOTONIC, &ct) < 0) in uc_check_timespec_mono()
/freebsd-12-stable/libexec/talkd/
Dtable.c90 clock_gettime(CLOCK_MONOTONIC_FAST, &ts); in find_match()
124 clock_gettime(CLOCK_MONOTONIC_FAST, &ts); in find_request()
162 clock_gettime(CLOCK_MONOTONIC_FAST, &ts); in insert_table()
/freebsd-12-stable/usr.bin/truss/
Dsetup.c495 clock_gettime(CLOCK_REALTIME, &t->before); in enter_syscall()
514 clock_gettime(CLOCK_REALTIME, &t->after); in thread_exit_syscall()
533 clock_gettime(CLOCK_REALTIME, &t->after); in exit_syscall()
620 clock_gettime(CLOCK_REALTIME, &t->after); in report_thread_death()
631 clock_gettime(CLOCK_REALTIME, &t->after); in report_thread_birth()
643 clock_gettime(CLOCK_REALTIME, &t->after); in report_exit()
660 clock_gettime(CLOCK_REALTIME, &t->after); in report_new_child()
727 clock_gettime(CLOCK_REALTIME, &t->after); in report_signal()
/freebsd-12-stable/contrib/llvm-project/libcxx/src/
Dchrono.cpp92 if (0 != clock_gettime(CLOCK_REALTIME, &tp))
199 if (0 != clock_gettime(CLOCK_MONOTONIC_RAW, &tp)) in __libcpp_steady_clock_now()
246 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) in __libcpp_steady_clock_now()
/freebsd-12-stable/lib/libc/tests/gen/
Dglob2_test.c77 clock_gettime(CLOCK_REALTIME, &t); in ATF_TC_BODY()
93 clock_gettime(CLOCK_REALTIME, &t2); in ATF_TC_BODY()
/freebsd-12-stable/sys/amd64/linux/
Dlinux_locore.asm39 .weak clock_gettime
40 .set clock_gettime, __vdso_clock_gettime define
/freebsd-12-stable/tools/tools/netrate/netsend/
Dnetsend.c109 if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) { in wait_time()
120 if (clock_gettime(CLOCK_REALTIME, &curtime) == -1) { in wait_time()
174 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) { in timing_loop()
252 if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) { in timing_loop()
/freebsd-12-stable/usr.bin/grdc/
Dgrdc.c142 clock_gettime(CLOCK_REALTIME_FAST, &now); in main()
200 clock_gettime(CLOCK_REALTIME_FAST, &now); in main()
210 clock_gettime(CLOCK_REALTIME_FAST, &now); in main()
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/
Dt_sigtimedwait.c59 clock_gettime(CLOCK_MONOTONIC, &before); in ATF_TC_BODY()
61 clock_gettime(CLOCK_MONOTONIC, &after); in ATF_TC_BODY()
Dt_clock_gettime.c100 CL(clock_gettime(CLOCK_REALTIME, &tsa)); in check_timecounter()
109 CL(clock_gettime(CLOCK_REALTIME, &tsb)); in check_timecounter()
Dt_nanosleep.c82 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts1) == 0); in ATF_TC_BODY()
84 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts2) == 0); in ATF_TC_BODY()
/freebsd-12-stable/lib/libc/sys/
DMakefile.inc28 SRCS+= clock_gettime.c gettimeofday.c __vdso_gettimeofday.c
29 NOASM+= clock_gettime.o gettimeofday.o
174 clock_gettime.2 \
374 MLINKS+=clock_gettime.2 clock_getres.2 \
375 clock_gettime.2 clock_settime.2
/freebsd-12-stable/usr.bin/time/
Dtime.c124 if (clock_gettime(CLOCK_MONOTONIC, &before_ts)) in main()
144 if (clock_gettime(CLOCK_MONOTONIC, &after)) in main()
150 if (clock_gettime(CLOCK_MONOTONIC, &after)) in main()
/freebsd-12-stable/tools/tools/netrate/netblast/
Dnetblast.c85 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) { in blast_loop()
122 if (clock_gettime(CLOCK_REALTIME, &tmptime) == -1) { in blast_loop()
/freebsd-12-stable/usr.sbin/rtadvd/
Dtimer.c163 clock_gettime(CLOCK_MONOTONIC_FAST, &now); in rtadvd_check_timer()
193 clock_gettime(CLOCK_MONOTONIC_FAST, &now); in rtadvd_set_timer()
/freebsd-12-stable/tests/sys/audit/
Dutils.c148 ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC, &endtime)); in check_auditpipe()
154 ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC, &currtime)); in check_auditpipe()
/freebsd-12-stable/contrib/jemalloc/src/
Dnstime.c119 clock_gettime(CLOCK_MONOTONIC_COARSE, &ts); in nstime_get()
128 clock_gettime(CLOCK_MONOTONIC, &ts); in nstime_get()
/freebsd-12-stable/sys/sparc64/sparc64/
Drtc.c92 DEVMETHOD(clock_gettime, mc146818_gettime),
113 DEVMETHOD(clock_gettime, mc146818_gettime),
/freebsd-12-stable/contrib/blacklist/port/
Dconfigure.ac29 AC_CHECK_LIB(rt, clock_gettime)
85 AC_REPLACE_FUNCS(strtoi sockaddr_snprintf popenve clock_gettime strlcpy strlcat getprogname fparsel…

12345678910