/sysdeps/pthread/ |
A D | tst-cond23.c | 71 if (check (&condattr, PTHREAD_PROCESS_PRIVATE, CLOCK_REALTIME)) in run_test() 80 if (check (&condattr, PTHREAD_PROCESS_SHARED, CLOCK_REALTIME)) in run_test() 101 if (pthread_condattr_setclock (&condattr, CLOCK_REALTIME) != 0) in run_test() 107 if (check (&condattr, PTHREAD_PROCESS_PRIVATE, CLOCK_REALTIME)) in run_test() 128 if (pthread_condattr_setclock (&condattr, CLOCK_REALTIME) != 0) in run_test() 134 if (check (&condattr, PTHREAD_PROCESS_SHARED, CLOCK_REALTIME)) in run_test() 158 int res = run_test (CLOCK_REALTIME); in do_test()
|
A D | tst-rwlock14.c | 54 xclock_gettime (CLOCK_REALTIME, &ts); in do_test() 66 TEST_COMPARE (pthread_rwlock_clockrdlock (&r, CLOCK_REALTIME, &ts), EINVAL); in do_test() 69 TEST_COMPARE (pthread_rwlock_clockwrlock (&r, CLOCK_REALTIME, &ts), EINVAL); in do_test() 75 TEST_COMPARE (pthread_rwlock_clockrdlock (&r, CLOCK_REALTIME, &ts), EINVAL); in do_test() 78 TEST_COMPARE (pthread_rwlock_clockwrlock (&r, CLOCK_REALTIME, &ts), EINVAL); in do_test() 86 TEST_COMPARE (pthread_rwlock_clockrdlock (&r, CLOCK_REALTIME, &ts), EINVAL); in do_test() 89 TEST_COMPARE (pthread_rwlock_clockwrlock (&r, CLOCK_REALTIME, &ts), EINVAL); in do_test()
|
A D | tst-timer.c | 82 retval = clock_gettime (CLOCK_REALTIME, &ts); in main() 96 retval = clock_getres (CLOCK_REALTIME, &ts); in main() 101 if (timer_create (CLOCK_REALTIME, &sigev1, &timer_sig) != 0) in main() 106 if (timer_create (CLOCK_REALTIME, &sigev2, &timer_thr1) != 0) in main() 112 if (timer_create (CLOCK_REALTIME, &sigev2, &timer_thr2) != 0) in main()
|
A D | tst-abstime.c | 38 TEST_COMPARE (pthread_mutex_clocklock (&m1, CLOCK_REALTIME, &t), ETIMEDOUT); in th() 42 TEST_COMPARE (pthread_rwlock_clockrdlock (&rw1, CLOCK_REALTIME, &t), in th() 44 TEST_COMPARE (pthread_rwlock_clockwrlock (&rw2, CLOCK_REALTIME, &t), in th()
|
A D | tst-sem5.c | 35 clockid == CLOCK_USE_TIMEDWAIT ? CLOCK_REALTIME : clockid; in do_test_clock() 57 do_test_clock (CLOCK_REALTIME); in do_test()
|
A D | tst-cancel28.c | 48 clock_nanosleep (CLOCK_REALTIME, 0, &(struct timespec) { 1, 0 }, NULL); in thread_handler() 60 TEST_COMPARE (timer_create (CLOCK_REALTIME, &sev, &timerid), 0); in do_test()
|
A D | tst-join15.c | 41 CLOCK_REALTIME, in do_test() 76 int ret = clocks[t] == CLOCK_REALTIME || clocks[t] == CLOCK_MONOTONIC in do_test()
|
A D | tst-cond11.c | 96 run_test (CLOCK_REALTIME, CLOCK_USE_ATTR_CLOCK); in do_test() 109 run_test (CLOCK_REALTIME, CLOCK_MONOTONIC); in do_test() 111 run_test (CLOCK_MONOTONIC, CLOCK_REALTIME); in do_test()
|
A D | tst-join5.c | 47 const struct timespec ts = timespec_add (xclock_now (CLOCK_REALTIME), in thread_join() 51 const struct timespec ts = timespec_add (xclock_now (CLOCK_REALTIME), in thread_join() 53 return pthread_clockjoin_np (thread, retval, CLOCK_REALTIME, &ts); in thread_join()
|
A D | tst-mutex5.c | 48 (clockid == CLOCK_USE_TIMEDLOCK) ? CLOCK_REALTIME : clockid; in do_test_clock() 96 const struct timespec ts_start = xclock_now (CLOCK_REALTIME); in do_test_clock() 132 do_test_clock (CLOCK_REALTIME, "clocklock(realtime)", ETIMEDOUT); in do_test()
|
A D | thrd_sleep.c | 27 int ret = __clock_nanosleep (CLOCK_REALTIME, 0, time_point, remaining); in thrd_sleep()
|
A D | tst-join3.c | 49 (clockid == CLOCK_USE_TIMEDJOIN) ? CLOCK_REALTIME : clockid; in do_test_clock() 93 do_test_clock (CLOCK_REALTIME); in do_test()
|
A D | tst-eintr5.c | 40 struct timespec ts = timespec_add (xclock_now (CLOCK_REALTIME), in tf()
|
A D | tst-cond27.c | 62 do_test_clock (CLOCK_REALTIME); in do_test()
|
/sysdeps/unix/sysv/linux/ |
A D | tst-clock_adjtime.c | 40 tv_then = xclock_now (CLOCK_REALTIME); in do_test() 47 int ret = ADJTIME_CALL (CLOCK_REALTIME, &delta); in do_test() 51 tv_now = xclock_now (CLOCK_REALTIME); in do_test()
|
A D | tst-ntp_gettime.c | 42 tv_before_ntp = xclock_now (CLOCK_REALTIME); in do_test() 48 tv_after_ntp = xclock_now (CLOCK_REALTIME); in do_test()
|
A D | tst-ppoll.c | 33 xclock_gettime (CLOCK_REALTIME, &ts); in test_ppoll_timeout() 41 TEST_TIMESPEC_NOW_OR_AFTER (CLOCK_REALTIME, ts); in test_ppoll_timeout()
|
A D | tst-sigtimedwait.c | 34 xclock_gettime (CLOCK_REALTIME, &ts); in test_sigtimedwait_timeout() 47 TEST_TIMESPEC_NOW_OR_AFTER (CLOCK_REALTIME, ts); in test_sigtimedwait_timeout()
|
A D | tst-timerfd.c | 36 fd = timerfd_create (CLOCK_REALTIME, 0); in timerfd_test() 65 int fd = timerfd_create (CLOCK_REALTIME, 0); in timerfd_large_timeout()
|
/sysdeps/generic/ |
A D | time-clockid.h | 20 #define TIME_CLOCK_GETTIME_CLOCKID CLOCK_REALTIME
|
/sysdeps/mach/ |
A D | clock_nanosleep.c | 41 __clock_gettime (CLOCK_REALTIME, &before); in nanosleep_call() 55 __clock_gettime (CLOCK_REALTIME, &after); in nanosleep_call() 70 if (clock_id != CLOCK_REALTIME in __clock_nanosleep()
|
/sysdeps/htl/ |
A D | pt-cond.c | 26 __clock: CLOCK_REALTIME
|
A D | sem-wait.c | 29 return __sem_timedwait_internal (sem, CLOCK_REALTIME, 0); in __sem_wait()
|
A D | pt-condattr-setclock.c | 45 else if (clock != CLOCK_REALTIME) in pthread_condattr_setclock()
|
/sysdeps/unix/sysv/linux/alpha/ |
A D | osf_settimeofday.c | 46 return __clock_settime (CLOCK_REALTIME, &ts); in __settimeofday_tv32()
|