Searched refs:cpuset (Results 1 - 2 of 2) sorted by relevance

/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp348 cpu_set_t cpuset; local
350 CPU_ZERO(&cpuset);
351 CPU_SET(cpu, &cpuset);
352 rv = sched_setaffinity(0, sizeof(cpuset), &cpuset);
/system/extras/tests/wifi/stress/
H A DwifiLoadScanAssoc.c479 cpu_set_t cpuset; local
487 CPU_ZERO(&cpuset);
492 CPU_SET(cpu, &cpuset);
499 sched_setaffinity(0, sizeof(cpuset), &cpuset);

Completed in 58 milliseconds