Searched refs:CLOCK_REALTIME (Results 1 – 12 of 12) 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 | 974 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 1022 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 1089 pthread_rwlock_timedrdlock_timeout_helper(CLOCK_REALTIME, pthread_rwlock_timedrdlock); in TEST() 1125 pthread_rwlock_timedwrlock_timeout_helper(CLOCK_REALTIME, pthread_rwlock_timedwrlock); in TEST() 1318 ASSERT_EQ(CLOCK_REALTIME, clock); in TEST() 1329 ASSERT_EQ(0, pthread_condattr_setclock(&attr, CLOCK_REALTIME)); in TEST() 1332 ASSERT_EQ(CLOCK_REALTIME, clock); in TEST() 1387 void InitCond(clockid_t clock=CLOCK_REALTIME) { in InitCond() 1444 InitCond(CLOCK_REALTIME); in TEST_F() 1446 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST_F() [all …]
|
D | time_test.cpp | 437 ASSERT_EQ(0, timer_create(CLOCK_REALTIME, &se, &timer_id)); in Create() 635 ASSERT_EQ(0, timer_create(CLOCK_REALTIME, &se, &tdd.timer_id)); in TEST() 680 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 712 ASSERT_EQ(0, clock_getres(CLOCK_REALTIME, &ts)); in TEST()
|
D | semaphore_test.cpp | 137 sem_timedwait_helper(CLOCK_REALTIME, sem_timedwait); in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | time.h | 64 #define CLOCK_REALTIME 0 macro 77 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
|
/bionic/libc/bionic/ |
D | timespec_get.cpp | 32 return (base == TIME_UTC && clock_gettime(CLOCK_REALTIME, ts) != -1) ? base : 0; in timespec_get()
|
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()
|
D | bionic_time_conversions.cpp | 61 clock_gettime(CLOCK_REALTIME, &cur_realtime_time); in monotonic_time_from_realtime_time()
|
/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 | 504 clock_gettime(CLOCK_REALTIME, &ts); in async_safe_write_log()
|