Searched refs:clock_getres (Results 1 - 15 of 15) sorted by relevance

/openbsd-current/gnu/gcc/libgomp/config/posix/
H A Dtime.c71 if (clock_getres (CLOCK_MONOTONIC, &ts) < 0)
73 clock_getres (CLOCK_REALTIME, &ts);
/openbsd-current/regress/sys/kern/pledge/generic/
H A Dtest_stdio.c31 clock_getres(CLOCK_MONOTONIC, NULL);
/openbsd-current/lib/libc/hidden/
H A Dtime.h31 PROTO_NORMAL(clock_getres); variable
/openbsd-current/regress/lib/libpthread/setsockopt/3a/
H A Dsetsockopt3a.c60 CHECKe(clock_getres(CLOCK_MONOTONIC, &mono_res));
/openbsd-current/include/
H A Dtime.h149 int clock_getres(clockid_t, struct timespec *);
/openbsd-current/regress/lib/libpthread/setsockopt/1/
H A Dsetsockopt1.c58 CHECKe(clock_getres(CLOCK_MONOTONIC, &mono_res_times2));
/openbsd-current/regress/lib/libpthread/setsockopt/2/
H A Dsetsockopt2.c63 CHECKe(clock_getres(CLOCK_MONOTONIC, &mono_res));
/openbsd-current/regress/lib/libc/sys/
H A Dt_clock_gettime.c136 if (clock_getres(CLOCK_REALTIME, &res) == 0) {
/openbsd-current/gnu/usr.bin/perl/dist/Time-HiRes/
H A DHiRes.pm14 getitimer setitimer nanosleep clock_gettime clock_getres
79 if (($i eq 'clock_getres' && !&d_clock_getres) ||
117 clock_gettime clock_getres clock_nanosleep clock
145 use Time::HiRes qw( clock_gettime clock_getres clock_nanosleep
150 $resolution = clock_getres(CLOCK_REALTIME);
273 more than half a second. See also L</clock_getres>, if available
386 =item clock_getres ( $which )
404 "clock id", as with clock_gettime() and clock_getres(). The flags
555 use Time::HiRes qw( clock_gettime clock_getres CLOCK_REALTIME );
559 my $reso = clock_getres(CLOCK_REALTIM
[all...]
H A DHiRes.xs181 # undef clock_getres
182 # define clock_getres(clock_id, tp) _clock_getres(clock_id, tp)
657 * (ditto clock_getres() and clock_nanosleep())
769 # define clock_getres(clock_id, ts) th_clock_getres((clock_id), (ts))
1406 clock_getres(clock_id = CLOCK_REALTIME)
1415 status = clock_getres(clock_id, &ts);
1425 clock_getres(clock_id = 0)
1429 croak("Time::HiRes::clock_getres(): unimplemented in this platform");
/openbsd-current/lib/libc/sys/
H A DMakefile.inc47 clock_getres.o clock_settime.o \
/openbsd-current/usr.sbin/ntpd/
H A Dntp.c187 clock_getres(CLOCK_REALTIME, &tp);
/openbsd-current/gnu/llvm/compiler-rt/lib/msan/tests/
H A Dmsan_test.cpp2217 TEST(MemorySanitizer, clock_getres) {
2221 ASSERT_EQ(0, clock_getres(CLOCK_REALTIME, 0));
2224 ASSERT_EQ(0, clock_getres(CLOCK_REALTIME, &tp));
/openbsd-current/gnu/usr.bin/perl/
H A Dsyscall_emulator.c573 ret = clock_getres(clock_id, tp);
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc70 #define clock_getres __clock_getres50
140 #define clock_getres __clock_getres_time64
2228 INTERCEPTOR(int, clock_getres, u32 clk_id, void *tp) {
2230 COMMON_INTERCEPTOR_ENTER(ctx, clock_getres, clk_id, tp);
2234 int res = REAL(clock_getres)(clk_id, tp);
2270 COMMON_INTERCEPT_FUNCTION(clock_getres); \

Completed in 322 milliseconds