Home
last modified time | relevance | path

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

/system/core/libutils/
DRefBase_test.cpp278 cpu_set_t* myCpus /* out */, cpu_set_t* otherCpus) { in setExclusiveCpus() argument
285 CPU_ZERO(myCpus); in setExclusiveCpus()
287 CPU_OR(myCpus, myCpus, origCpus); in setExclusiveCpus()
292 CPU_CLR(i, myCpus); in setExclusiveCpus()
314 cpu_set_t myCpus; in TEST() local
318 if (setExclusiveCpus(&origCpus, &myCpus, &otherCpus)) { in TEST()
321 if (sched_setaffinity(0, sizeof(cpu_set_t), &myCpus) != 0) { in TEST()
370 cpu_set_t myCpus; in TEST() local
374 if (setExclusiveCpus(&origCpus, &myCpus, &otherCpus)) { in TEST()
377 if (sched_setaffinity(0, sizeof(cpu_set_t), &myCpus) != 0) { in TEST()