Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/test/os-tests/tests/
H A Dclock_gettime.c90 if (clock_gettime(test->cgt_clock, &ts0) != 0) { in clock_test()
98 if (clock_gettime(test->cgt_clock, &ts1) != 0) { in clock_test()
171 if (clock_gettime(CLOCK_VIRTUAL, &ts) != 0) { in clock_test_cputime_thr()
178 if (clock_gettime(CLOCK_VIRTUAL, &ts) != 0) { in clock_test_cputime_thr()
211 if (clock_gettime(CLOCK_VIRTUAL, &ts) != 0) { in clock_test_thread_clock()
224 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) != 0) { in clock_test_thread_clock()
254 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &sys) != 0) { in clock_test_thread_sys()
259 if (clock_gettime(CLOCK_VIRTUAL, &usr) != 0) { in clock_test_thread_sys()
287 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &proc) != 0) { in clock_test_thread_proc()
292 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &thr) != 0) { in clock_test_thread_proc()
H A DMakefile65 clock_gettime \
85 clock_gettime.32 := LDLIBS += -lproc
86 clock_gettime.32 := CSTD = $(CSTD_GNU99)
87 clock_gettime.64 := LDLIBS64 += -lproc
88 clock_gettime.64 := CSTD = $(CSTD_GNU99)
/illumos-gate/usr/src/test/libc-tests/tests/clocklock/
H A Dclock_lock.c60 if (clock_gettime(clock, abs) != 0) { in clock_rel_to_abs()
78 if (clock_gettime(clock, &now) != 0) { in clock_abs_after()
95 if (clock_gettime(clock, &now) != 0) { in clock_rel_after()
H A Dclock_lock_rwlock.c449 if (clock_gettime(CLOCK_REALTIME, &start) != 0) { in clock_test_rwlock_to_rel()
466 if (clock_gettime(CLOCK_REALTIME, &start) != 0) { in clock_test_rwlock_to_rel()
485 if (clock_gettime(CLOCK_HIGHRES, &start) != 0) { in clock_test_rwlock_to_rel()
504 if (clock_gettime(CLOCK_REALTIME, &start) != 0) { in clock_test_rwlock_to_rel()
522 if (clock_gettime(CLOCK_REALTIME, &start) != 0) { in clock_test_rwlock_to_rel()
541 if (clock_gettime(CLOCK_HIGHRES, &start) != 0) { in clock_test_rwlock_to_rel()
H A Dclock_lock_sem.c292 if (clock_gettime(CLOCK_REALTIME, &start) != 0) { in clock_test_sem_to_rel()
309 if (clock_gettime(CLOCK_REALTIME, &start) != 0) { in clock_test_sem_to_rel()
328 if (clock_gettime(CLOCK_HIGHRES, &start) != 0) { in clock_test_sem_to_rel()
H A Dclock_lock_mutex.c312 if (clock_gettime(CLOCK_REALTIME, &start) != 0) { in clock_test_mutex_to_rel()
329 if (clock_gettime(CLOCK_REALTIME, &start) != 0) { in clock_test_mutex_to_rel()
348 if (clock_gettime(CLOCK_HIGHRES, &start) != 0) { in clock_test_mutex_to_rel()
H A Dclock_lock_cond.c289 if (clock_gettime(CLOCK_REALTIME, &start) != 0) { in clock_test_cond_to_rel()
307 if (clock_gettime(CLOCK_REALTIME, &start) != 0) { in clock_test_cond_to_rel()
325 if (clock_gettime(CLOCK_HIGHRES, &start) != 0) { in clock_test_cond_to_rel()
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dtimespec_get.c67 if (clock_gettime(clock, &pre) != 0) { in timespec_test_one()
79 if (clock_gettime(clock, &post) != 0) { in timespec_test_one()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dtvlib25 lib clock_gettime execute{
31 return clock_gettime(CLOCK_REALTIME, &tv) != 0;
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_timeout.c188 if (clock_gettime(CLOCK_REALTIME, &tspec) != 0) in sip_timeout()
252 if (clock_gettime(CLOCK_REALTIME, &tspec) != 0) in sip_schedule_to_functions()
332 if (clock_gettime(CLOCK_REALTIME, &tspec) != 0) in sip_timer_thr()
/illumos-gate/usr/src/lib/libc/amd64/sys/
H A D__clock_gettime_sys.S52 SYSTRAP_RVAL1(clock_gettime)
/illumos-gate/usr/src/lib/libc/i386/sys/
H A D__clock_gettime_sys.S51 SYSTRAP_RVAL1(clock_gettime)
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A D__clock_gettime.S49 SYSTRAP_RVAL1(clock_gettime)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtimespec_cstd.c60 if (clock_gettime(clock, ts) != 0) in timespec_get()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtvgettime.c37 clock_gettime(CLOCK_REALTIME, &s); in tvgettime()
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Devents.c221 (void) clock_gettime(CLOCK_REALTIME, &event->event_time); in nwamd_event_init()
507 (void) clock_gettime(CLOCK_REALTIME, &event->event_time); in nwamd_event_enqueue_timed()
561 (void) clock_gettime(CLOCK_REALTIME, &now); in in_past()
593 (void) clock_gettime(CLOCK_REALTIME, &waitcap); in nwamd_event_dequeue()
/illumos-gate/usr/src/cmd/bhyve/amd64/
H A Drtc.c76 (void) clock_gettime(CLOCK_REALTIME, ts); in rtc_time()
/illumos-gate/usr/src/test/libc-tests/tests/qsort/
H A Dqsort_test.c450 (void) clock_gettime(CLOCK_MONOTONIC, &before); in do_test()
454 (void) clock_gettime(CLOCK_MONOTONIC, &after); in do_test()
635 (void) clock_gettime(CLOCK_MONOTONIC, &before); in test_antiqsort()
638 (void) clock_gettime(CLOCK_MONOTONIC, &after); in test_antiqsort()
/illumos-gate/usr/src/boot/include/
H A Dtime.h170 int clock_gettime(clockid_t, struct timespec *);
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dclock_timer.c71 clock_gettime(clockid_t clock_id, timespec_t *tp) in clock_gettime() function
/illumos-gate/usr/src/uts/sparc/os/
H A Dname_to_sysnum180 clock_gettime 191
/illumos-gate/usr/src/uts/intel/os/
H A Dname_to_sysnum182 clock_gettime 191
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_timers.c114 if (clock_gettime(m, &tsnow) == 0) in evNowTime()
127 if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0) in evUTCTime()
/illumos-gate/usr/src/test/os-tests/runfiles/
H A Ddefault.run39 [/opt/os-tests/tests/clock_gettime.32]
40 [/opt/os-tests/tests/clock_gettime.64]
/illumos-gate/usr/src/head/
H A Dtime.h144 extern int clock_gettime(clockid_t, struct timespec *);

12