Searched refs:CLOCK_MONOTONIC (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/kernel/uapi/linux/ |
D | time.h | 56 #define CLOCK_MONOTONIC 1 macro 71 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) 72 #define CLOCKS_MONO CLOCK_MONOTONIC
|
/bionic/benchmarks/ |
D | time_benchmark.cpp | 27 clock_gettime(CLOCK_MONOTONIC, &t); in BM_time_clock_gettime() 35 syscall(__NR_clock_gettime, CLOCK_MONOTONIC, &t); in BM_time_clock_gettime_syscall()
|
/bionic/tests/ |
D | time_test.cpp | 214 ASSERT_EQ(0, timer_create(CLOCK_MONOTONIC, &se, &timer_id)); in TEST() 244 ASSERT_EQ(0, timer_create(CLOCK_MONOTONIC, &se, &timer_id)); in TEST() 358 ASSERT_EQ(0, timer_create(CLOCK_MONOTONIC, NULL, &timer_id)); in TEST() 390 ASSERT_EQ(0, timer_create(CLOCK_MONOTONIC, NULL, &timer_id)); in TEST() 399 ASSERT_EQ(0, timer_create(CLOCK_MONOTONIC, &se, &timer_id)); in TEST() 511 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts1)); in TEST() 513 ASSERT_EQ(0, syscall(__NR_clock_gettime, CLOCK_MONOTONIC, &ts2)); in TEST()
|
D | pthread_test.cpp | 1083 ASSERT_EQ(0, pthread_condattr_setclock(&attr, CLOCK_MONOTONIC)); in TEST() 1085 ASSERT_EQ(CLOCK_MONOTONIC, clock); in TEST() 1095 ASSERT_EQ(0, pthread_condattr_setclock(&attr, CLOCK_MONOTONIC)); in TEST() 1107 ASSERT_EQ(CLOCK_MONOTONIC, clock); in TEST() 1205 InitCond(CLOCK_MONOTONIC); in TEST_F() 1207 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST_F()
|
D | signal_test.cpp | 355 clock_gettime(CLOCK_MONOTONIC, &t); in NanoTime()
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | res_random.c | 222 clock_gettime(CLOCK_MONOTONIC, &ts); in res_initid() 235 clock_gettime(CLOCK_MONOTONIC, &ts); in __res_randomid()
|
/bionic/libc/bionic/ |
D | pthread_cond.cpp | 94 if (clock != CLOCK_MONOTONIC && clock != CLOCK_REALTIME) { in pthread_condattr_setclock() 235 absolute_timespec_from_timespec(ts, *rel_timeout, CLOCK_MONOTONIC); in pthread_cond_timedwait_relative_np()
|
D | getentropy_linux.c | 321 #ifdef CLOCK_MONOTONIC 322 CLOCK_MONOTONIC,
|
D | pthread_mutex.cpp | 619 absolute_timespec_from_timespec(abs_timeout, ts, CLOCK_MONOTONIC); in pthread_mutex_lock_timeout_np()
|
D | libc_logging.cpp | 543 return (tolower(c) == 'm') ? CLOCK_MONOTONIC : CLOCK_REALTIME; in __android_log_clockid()
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_timers.c | 130 #ifdef CLOCK_MONOTONIC in evNowTime() 133 m = CLOCK_MONOTONIC; in evNowTime()
|