Home
last modified time | relevance | path

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

/system/extras/tests/memtest/
Dbandwidth.cpp155 cpu_set_t cpuset; in getAvailCpus() local
157 CPU_ZERO(&cpuset); in getAvailCpus()
158 if (sched_getaffinity(0, sizeof(cpuset), &cpuset) != 0) { in getAvailCpus()
164 if (CPU_ISSET(i, &cpuset)) { in getAvailCpus()
183 cpu_set_t cpuset; in runBandwidthThread() local
184 CPU_ZERO(&cpuset); in runBandwidthThread()
185 CPU_SET(arg->core, &cpuset); in runBandwidthThread()
186 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in runBandwidthThread()
/system/core/rootdir/
Dinit.rc141 mkdir /dev/cpuset
142 mount cpuset none /dev/cpuset
146 mkdir /dev/cpuset/foreground
147 write /dev/cpuset/foreground/cpus 0
148 write /dev/cpuset/foreground/mems 0
149 mkdir /dev/cpuset/foreground/boost
150 write /dev/cpuset/foreground/boost/cpus 0
151 write /dev/cpuset/foreground/boost/mems 0
152 mkdir /dev/cpuset/background
153 write /dev/cpuset/background/cpus 0
[all …]
Dinit.zygote64_32.rc8 writepid /dev/cpuset/foreground/tasks
14 writepid /dev/cpuset/foreground/tasks
Dinit.zygote32_64.rc8 writepid /dev/cpuset/foreground/tasks
14 writepid /dev/cpuset/foreground/tasks
Dinit.zygote32.rc8 writepid /dev/cpuset/foreground/tasks
Dinit.zygote64.rc8 writepid /dev/cpuset/foreground/tasks
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp348 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()
/system/extras/tests/wifi/stress/
DwifiLoadScanAssoc.c480 cpu_set_t cpuset; in randBind() local
488 CPU_ZERO(&cpuset); in randBind()
493 CPU_SET(cpu, &cpuset); in randBind()
500 sched_setaffinity(0, sizeof(cpuset), &cpuset); in randBind()
/system/extras/micro_bench/
Dmicro_bench.cpp792 cpu_set_t cpuset; in raisePriorityAndLock() local
799 CPU_ZERO(&cpuset); in raisePriorityAndLock()
800 if (sched_getaffinity(0, sizeof(cpuset), &cpuset) != 0) { in raisePriorityAndLock()
808 if (CPU_ISSET(i, &cpuset)) { in raisePriorityAndLock()
812 } else if (!CPU_ISSET(cpu_to_lock, &cpuset)) { in raisePriorityAndLock()
822 CPU_ZERO(&cpuset); in raisePriorityAndLock()
823 CPU_SET(cpu_to_lock, &cpuset); in raisePriorityAndLock()
824 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in raisePriorityAndLock()
/system/core/init/
Dreadme.txt115 cgroup/cpuset usage.