Searched refs:CPU_COUNT_S (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | sched_test.cpp | 174 ASSERT_EQ(0, CPU_COUNT_S(size, set)); in TEST() 186 ASSERT_EQ(0, CPU_COUNT_S(size, set)); in TEST() 203 ASSERT_EQ(i + 1, CPU_COUNT_S(size, set)); in TEST() 209 ASSERT_EQ(set_size - i - 1, CPU_COUNT_S(size, set)); in TEST()
|
/bionic/libc/include/ |
D | sched.h | 301 #define CPU_COUNT(set) CPU_COUNT_S(sizeof(cpu_set_t), set) 306 #define CPU_COUNT_S(setsize, set) __sched_cpucount((setsize), (set)) macro
|