Home
last modified time | relevance | path

Searched refs:CLOCK_REALTIME (Results 1 – 25 of 60) sorted by relevance

123

/sysdeps/pthread/
A Dtst-cond23.c71 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 Dtst-rwlock14.c54 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 Dtst-timer.c82 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 Dtst-abstime.c38 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 Dtst-sem5.c35 clockid == CLOCK_USE_TIMEDWAIT ? CLOCK_REALTIME : clockid; in do_test_clock()
57 do_test_clock (CLOCK_REALTIME); in do_test()
A Dtst-cancel28.c48 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 Dtst-join15.c41 CLOCK_REALTIME, in do_test()
76 int ret = clocks[t] == CLOCK_REALTIME || clocks[t] == CLOCK_MONOTONIC in do_test()
A Dtst-cond11.c96 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 Dtst-join5.c47 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 Dtst-mutex5.c48 (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 Dthrd_sleep.c27 int ret = __clock_nanosleep (CLOCK_REALTIME, 0, time_point, remaining); in thrd_sleep()
A Dtst-join3.c49 (clockid == CLOCK_USE_TIMEDJOIN) ? CLOCK_REALTIME : clockid; in do_test_clock()
93 do_test_clock (CLOCK_REALTIME); in do_test()
A Dtst-eintr5.c40 struct timespec ts = timespec_add (xclock_now (CLOCK_REALTIME), in tf()
A Dtst-cond27.c62 do_test_clock (CLOCK_REALTIME); in do_test()
/sysdeps/unix/sysv/linux/
A Dtst-clock_adjtime.c40 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 Dtst-ntp_gettime.c42 tv_before_ntp = xclock_now (CLOCK_REALTIME); in do_test()
48 tv_after_ntp = xclock_now (CLOCK_REALTIME); in do_test()
A Dtst-ppoll.c33 xclock_gettime (CLOCK_REALTIME, &ts); in test_ppoll_timeout()
41 TEST_TIMESPEC_NOW_OR_AFTER (CLOCK_REALTIME, ts); in test_ppoll_timeout()
A Dtst-sigtimedwait.c34 xclock_gettime (CLOCK_REALTIME, &ts); in test_sigtimedwait_timeout()
47 TEST_TIMESPEC_NOW_OR_AFTER (CLOCK_REALTIME, ts); in test_sigtimedwait_timeout()
A Dtst-timerfd.c36 fd = timerfd_create (CLOCK_REALTIME, 0); in timerfd_test()
65 int fd = timerfd_create (CLOCK_REALTIME, 0); in timerfd_large_timeout()
/sysdeps/generic/
A Dtime-clockid.h20 #define TIME_CLOCK_GETTIME_CLOCKID CLOCK_REALTIME
/sysdeps/mach/
A Dclock_nanosleep.c41 __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 Dpt-cond.c26 __clock: CLOCK_REALTIME
A Dsem-wait.c29 return __sem_timedwait_internal (sem, CLOCK_REALTIME, 0); in __sem_wait()
A Dpt-condattr-setclock.c45 else if (clock != CLOCK_REALTIME) in pthread_condattr_setclock()
/sysdeps/unix/sysv/linux/alpha/
A Dosf_settimeofday.c46 return __clock_settime (CLOCK_REALTIME, &ts); in __settimeofday_tv32()

Completed in 13 milliseconds

123