Home
last modified time | relevance | path

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

12345678910>>...12

/netbsd-src/tests/lib/libc/sys/
H A Dt_timerfd.c216 RL(clock_gettime(CLOCK_MONOTONIC, &now)); in ATF_TC_BODY()
260 RL(clock_gettime(CLOCK_MONOTONIC, &then)); in ATF_TC_BODY()
273 RL(clock_gettime(CLOCK_MONOTONIC, &now)); in ATF_TC_BODY()
307 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0); in ATF_TC_BODY()
316 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &now) == 0);
350 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0); in ATF_TC_BODY()
353 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &now) == 0); in ATF_TC_BODY()
388 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0); in ATF_TC_BODY()
401 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &now) == 0); in ATF_TC_BODY()
435 ATF_REQUIRE(clock_gettime(CLOCK_REALTIM in ATF_TC_BODY()
[all...]
H A Dt_clock_gettime.c102 CL(clock_gettime(CLOCK_REALTIME, &tsa)); in check_timecounter()
111 CL(clock_gettime(CLOCK_REALTIME, &tsb)); in check_timecounter()
242 RL(clock_gettime(CLOCK_MONOTONIC, &mono_t0)); in check_monotonicity()
243 RL(clock_gettime(clockid, &t0)); in check_monotonicity()
250 RL(clock_gettime(clockid, &t1)); in check_monotonicity()
259 RL(clock_gettime(CLOCK_MONOTONIC, &mono_t1)); in check_monotonicity()
/netbsd-src/tests/kernel/kqueue/
H A Dt_timer.c99 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0); in ATF_TC_BODY()
113 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, in ATF_TC_BODY()
131 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, in ATF_TC_BODY()
147 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0); in ATF_TC_BODY()
151 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts) == 0); in ATF_TC_BODY()
284 ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &ots) == 0); in ATF_TC_BODY()
293 ATF_REQUIRE(clock_gettime(CLOCK_REALTIME, &ts) == 0); in ATF_TC_BODY()
321 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ots) == 0); in do_test_timer_units()
323 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts) == 0); in do_test_timer_units()
/netbsd-src/external/gpl2/xcvs/dist/m4/
H A Dclock_time.m47 # Check for clock_gettime and clock_settime, and sets LIB_CLOCK_GETTIME.
13 # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
20 AC_SEARCH_LIBS(clock_gettime, [rt posix4],
24 AC_CHECK_FUNCS(clock_gettime clock_settime)
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/m4/
H A Dclock_time.m47 # Check for clock_getres, clock_gettime and clock_settime,
18 # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
27 AC_SEARCH_LIBS([clock_gettime], [rt posix4],
30 AC_CHECK_FUNCS([clock_getres clock_gettime clock_settime])
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dtime.d228 int clock_gettime(clockid_t, timespec*); in version()
267 int clock_gettime(clockid_t, timespec*); in version()
293 int clock_gettime(clockid_t, timespec*); in version()
317 int clock_gettime(clockid_t, timespec*); in version()
341 int clock_gettime(clockid_t, timespec*); in version()
363 int clock_gettime(clockid_t, timespec*); in version()
394 int clock_gettime(int, timespec*); in version()
428 int clock_gettime(clockid_t, timespec*); in version()
457 int clock_gettime(clockid_t, timespec*); in version()
/netbsd-src/sbin/cgdconfig/
H A Dargon2_utils.c113 if (clock_gettime(CLOCK_MONOTONIC, &tp1) == -1) in argon2id_calibrate()
124 if (clock_gettime(CLOCK_MONOTONIC, &tp2) == -1) in argon2id_calibrate()
144 if (clock_gettime(CLOCK_MONOTONIC, &tp1) == -1) in argon2id_calibrate()
155 if (clock_gettime(CLOCK_MONOTONIC, &tp2) == -1) in argon2id_calibrate()
/netbsd-src/lib/libc/compat/sys/
H A Dcompat_clock.c46 __warn_references(clock_gettime,
56 __weak_alias(clock_gettime, _clock_gettime) in __weak_alias()
77 clock_gettime(clockid_t clockid, struct timespec50 *tim50) in clock_gettime() function
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A Dgethrtime.c131 int r = clock_gettime (CLOCK_THREAD_CPUTIME_ID, &tp); in gethrvtime()
163 int r = clock_gettime (CLOCK_MONOTONIC_RAW, &tp); in gethrtime()
165 int r = clock_gettime (CLOCK_MONOTONIC, &tp); in gethrtime()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A Dgethrtime.c131 int r = clock_gettime (CLOCK_THREAD_CPUTIME_ID, &tp); in gethrvtime()
163 int r = clock_gettime (CLOCK_MONOTONIC_RAW, &tp); in gethrtime()
165 int r = clock_gettime (CLOCK_MONOTONIC, &tp); in gethrtime()
/netbsd-src/tests/lib/libpthread/
H A 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()
H A Dt_thrd.c190 ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &start), 0); in ATF_TC_BODY()
192 ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &stop), 0); in ATF_TC_BODY()
206 ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &start), 0); in ATF_TC_BODY()
208 ATF_REQUIRE_EQ(clock_gettime(CLOCK_MONOTONIC, &stop), 0); in ATF_TC_BODY()
/netbsd-src/lib/librumpuser/
H A Dconfigure.ac37 AC_CHECK_LIB([rt], [clock_gettime],
38 AC_DEFINE([HAVE_CLOCK_GETTIME], 1, [clock_gettime]),
39 AC_TRY_LINK_FUNC([clock_gettime],
40 AC_DEFINE([HAVE_CLOCK_GETTIME], 1, [clock_gettime])))
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
H A Dfdr_controller_test.cc59 C = llvm::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 0); in SetUp()
107 C = llvm::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
122 C = llvm::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
142 C = llvm::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
167 C = llvm::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
191 C = llvm::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
218 C = llvm::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
252 C = llvm::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 1000); in TEST_F()
313 C = llvm::make_unique<FDRController<>>(BQ.get(), B, *W, clock_gettime, 0); in SetUp()
/netbsd-src/external/gpl3/gcc/dist/libbacktrace/
H A Dztest.c66 #define clock_gettime xclock_gettime macro
440 if (clock_gettime (cid, &ts1) < 0) in test_large()
461 if (clock_gettime (cid, &ts2) < 0) in test_large()
471 if (clock_gettime (cid, &ts1) < 0) in test_large()
482 if (clock_gettime (cid, &ts2) < 0) in test_large()
H A Dxztest.c67 #define clock_gettime xclock_gettime macro
395 if (clock_gettime (cid, &ts1) < 0) in test_large()
416 if (clock_gettime (cid, &ts2) < 0) in test_large()
440 if (clock_gettime (cid, &ts1) < 0) in test_large()
457 if (clock_gettime (cid, &ts2) < 0) in test_large()
/netbsd-src/external/gpl3/gcc.old/dist/libbacktrace/
H A Dztest.c66 #define clock_gettime xclock_gettime macro
440 if (clock_gettime (cid, &ts1) < 0) in test_large()
461 if (clock_gettime (cid, &ts2) < 0) in test_large()
471 if (clock_gettime (cid, &ts1) < 0) in test_large()
482 if (clock_gettime (cid, &ts2) < 0) in test_large()
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dgethrtime.c36 int r = clock_gettime (CLOCK_MONOTONIC_RAW, &tp); in linux_gethrtime()
38 int r = clock_gettime (CLOCK_MONOTONIC, &tp); in linux_gethrtime()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Dgethrtime.c36 int r = clock_gettime (CLOCK_MONOTONIC_RAW, &tp); in linux_gethrtime()
38 int r = clock_gettime (CLOCK_MONOTONIC, &tp); in linux_gethrtime()
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/posix/
H A Dtime.c52 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) in omp_get_wtime()
54 clock_gettime (CLOCK_REALTIME, &ts); in omp_get_wtime()
/netbsd-src/external/gpl3/gcc/dist/libgomp/config/posix/
H A Dtime.c52 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) in omp_get_wtime()
54 clock_gettime (CLOCK_REALTIME, &ts); in omp_get_wtime()
/netbsd-src/external/bsd/libfido2/dist/src/
H A Dtime.c35 if (clock_gettime(CLOCK_MONOTONIC, ts_now) != 0) { in fido_time_now()
52 if (clock_gettime(CLOCK_MONOTONIC, &ts_end) != 0) { in fido_time_delta()
/netbsd-src/external/apache2/llvm/dist/libcxx/src/
H A 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()
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dldseed.c104 if (clock_gettime(NON_WALLTIME_CLOCK, &ts) != 0) in ldseed()
116 if (clock_gettime(CLOCK_REALTIME, &ts) != 0) in ldseed()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
H A Dchrono.cc60 clock_gettime(CLOCK_REALTIME, &tp); in now()
88 clock_gettime(CLOCK_MONOTONIC, &tp); in now()

12345678910>>...12