Searched refs:CLOCK_PROCESS_CPUTIME_ID (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/bionic/ |
D | clock.cpp | 38 clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts); in clock()
|
/bionic/libc/kernel/uapi/linux/ |
D | time.h | 51 #define CLOCK_PROCESS_CPUTIME_ID 2 macro
|
/bionic/tests/headers/posix/ |
D | time_h.c | 70 MACRO(CLOCK_PROCESS_CPUTIME_ID); in time_h()
|
/bionic/tests/ |
D | time_test.cpp | 791 ASSERT_EQ(0, clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts)); in TEST() 827 ASSERT_EQ(0, clock_getres(CLOCK_PROCESS_CPUTIME_ID, &ts)); in TEST()
|
D | pthread_test.cpp | 1164 EXPECT_EQ(EINVAL, pthread_rwlock_clockrdlock(&lock, CLOCK_PROCESS_CPUTIME_ID, &ts)); in TEST() 1232 EXPECT_EQ(EINVAL, pthread_rwlock_clockwrlock(&lock, CLOCK_PROCESS_CPUTIME_ID, &ts)); in TEST() 1439 ASSERT_EQ(EINVAL, pthread_condattr_setclock(&attr, CLOCK_PROCESS_CPUTIME_ID)); in TEST() 1707 EXPECT_EQ(EINVAL, pthread_cond_clockwait(&cond, &mutex, CLOCK_PROCESS_CPUTIME_ID, &ts)); in TEST() 2464 EXPECT_EQ(EINVAL, pthread_mutex_clocklock(&mutex, CLOCK_PROCESS_CPUTIME_ID, &ts)); in TEST() 2490 ASSERT_EXIT(pthread_mutex_clocklock(&m, CLOCK_PROCESS_CPUTIME_ID, &ts), in TEST_F()
|