Searched refs:CLOCK_REALTIME (Results 1 – 14 of 14) sorted by relevance
/bionic/tests/ |
D | sys_timex_test.cpp | 40 ASSERT_NE(-1, clock_adjtime(CLOCK_REALTIME, &t)); in TEST() 45 ASSERT_EQ(-1, clock_adjtime(CLOCK_REALTIME, nullptr)); in TEST()
|
D | pthread_test.cpp | 973 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 1001 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 1004 return pthread_rwlock_clockwrlock(lock, CLOCK_REALTIME, &ts); in TEST() 1040 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 1068 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 1071 return pthread_rwlock_clockrdlock(lock, CLOCK_REALTIME, &ts); in TEST() 1126 pthread_rwlock_timedrdlock_timeout_helper(CLOCK_REALTIME, pthread_rwlock_timedrdlock); in TEST() 1152 CLOCK_REALTIME, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST() 1153 return pthread_rwlock_clockrdlock(__rwlock, CLOCK_REALTIME, __timeout); in TEST() 1194 pthread_rwlock_timedwrlock_timeout_helper(CLOCK_REALTIME, pthread_rwlock_timedwrlock); in TEST() [all …]
|
D | time_test.cpp | 538 ASSERT_EQ(0, timer_create(CLOCK_REALTIME, &se, &timer_id)); in Create() 736 ASSERT_EQ(0, timer_create(CLOCK_REALTIME, &se, &tdd.timer_id)); in TEST() 781 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 813 ASSERT_EQ(0, clock_getres(CLOCK_REALTIME, &ts)); in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | time.h | 49 #define CLOCK_REALTIME 0 macro 62 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
|
/bionic/libc/bionic/ |
D | pthread_cond.cpp | 70 *attr |= (CLOCK_REALTIME << 1); in pthread_condattr_init() 94 if (clock != CLOCK_MONOTONIC && clock != CLOCK_REALTIME) { in pthread_condattr_setclock() 115 return COND_GET_CLOCK(atomic_load_explicit(&state, memory_order_relaxed)) == CLOCK_REALTIME; in use_realtime_clock() 244 case CLOCK_REALTIME: in pthread_cond_clockwait()
|
D | timespec_get.cpp | 32 return (base == TIME_UTC && clock_gettime(CLOCK_REALTIME, ts) != -1) ? base : 0; in timespec_get()
|
D | bionic_time_conversions.cpp | 61 clock_gettime(CLOCK_REALTIME, &cur_realtime_time); in monotonic_time_from_realtime_time()
|
D | pthread_rwlock.cpp | 437 case CLOCK_REALTIME: in pthread_rwlock_clockrdlock() 475 case CLOCK_REALTIME: in pthread_rwlock_clockwrlock()
|
D | semaphore.cpp | 282 case CLOCK_REALTIME: in sem_clockwait()
|
D | pthread_mutex.cpp | 997 case CLOCK_REALTIME: in pthread_mutex_clocklock()
|
/bionic/benchmarks/ |
D | time_benchmark.cpp | 65 clock_gettime(CLOCK_REALTIME, &t); in BM_time_clock_gettime_REALTIME() 128 clock_getres(CLOCK_REALTIME, &t); in BM_time_clock_getres_REALTIME()
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_timers.c | 126 #ifdef CLOCK_REALTIME in evNowTime() 128 int m = CLOCK_REALTIME; in evNowTime() 147 #ifdef CLOCK_REALTIME in evUTCTime() 149 if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0) in evUTCTime()
|
/bionic/tests/headers/posix/ |
D | time_h.c | 71 MACRO(CLOCK_REALTIME); in time_h()
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 515 clock_gettime(CLOCK_REALTIME, &ts); in async_safe_write_log()
|