Searched refs:cpuset (Results 1 – 3 of 3) sorted by relevance
/system/extras/micro_bench/ |
D | micro_bench.cpp | 429 cpu_set_t cpuset; in raisePriorityAndLock() local 436 CPU_ZERO(&cpuset); in raisePriorityAndLock() 437 if (sched_getaffinity(0, sizeof(cpuset), &cpuset) != 0) { in raisePriorityAndLock() 445 if (CPU_ISSET(i, &cpuset)) { in raisePriorityAndLock() 449 } else if (!CPU_ISSET(cpu_to_lock, &cpuset)) { in raisePriorityAndLock() 459 CPU_ZERO(&cpuset); in raisePriorityAndLock() 460 CPU_SET(cpu_to_lock, &cpuset); in raisePriorityAndLock() 461 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in raisePriorityAndLock()
|
/system/extras/tests/wifi/stress/ |
D | wifiLoadScanAssoc.c | 479 cpu_set_t cpuset; in randBind() local 487 CPU_ZERO(&cpuset); in randBind() 492 CPU_SET(cpu, &cpuset); in randBind() 499 sched_setaffinity(0, sizeof(cpuset), &cpuset); in randBind()
|
/system/extras/tests/binder/benchmarks/ |
D | binderAddInts.cpp | 348 cpu_set_t cpuset; in bindCPU() local 350 CPU_ZERO(&cpuset); in bindCPU() 351 CPU_SET(cpu, &cpuset); in bindCPU() 352 rv = sched_setaffinity(0, sizeof(cpuset), &cpuset); in bindCPU()
|