Home
last modified time | relevance | path

Searched refs:cpu_set (Results 1 – 2 of 2) sorted by relevance

/bionic/tools/versioner/src/
Dversioner.cpp73 cpu_set_t cpu_set; in getCpuCount() local
74 int rc = sched_getaffinity(getpid(), sizeof(cpu_set), &cpu_set); in getCpuCount()
78 return CPU_COUNT(&cpu_set); in getCpuCount()
/bionic/tests/
Dsched_test.cpp70 TEST(sched, cpu_set) { in TEST() argument