Home
last modified time | relevance | path

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

/system/extras/crypto-perf/
Dcrypto.cpp119 cpu_set_t cpuset; in main() local
120 CPU_ZERO(&cpuset); in main()
121 CPU_SET(cmd_data.cpu_to_lock, &cpuset); in main()
122 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in main()
/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.rc158 mkdir /dev/cpuset
159 mount cpuset none /dev/cpuset
163 mkdir /dev/cpuset/foreground
164 write /dev/cpuset/foreground/cpus 0
165 write /dev/cpuset/foreground/mems 0
166 mkdir /dev/cpuset/foreground/boost
167 write /dev/cpuset/foreground/boost/cpus 0
168 write /dev/cpuset/foreground/boost/mems 0
169 mkdir /dev/cpuset/background
170 write /dev/cpuset/background/cpus 0
[all …]
Dinit.zygote64_32.rc10 writepid /dev/cpuset/foreground/tasks
16 writepid /dev/cpuset/foreground/tasks
Dinit.zygote32_64.rc10 writepid /dev/cpuset/foreground/tasks
16 writepid /dev/cpuset/foreground/tasks
Dinit.zygote64.rc10 writepid /dev/cpuset/foreground/tasks
Dinit.zygote32.rc10 writepid /dev/cpuset/foreground/tasks
/system/core/logd/
Dlogd.rc6 writepid /dev/cpuset/system-background/tasks
11 writepid /dev/cpuset/system-background/tasks
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp208 cpu_set_t cpuset; in bindCPU() local
210 CPU_ZERO(&cpuset); in bindCPU()
211 CPU_SET(cpu, &cpuset); in bindCPU()
212 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.cpp786 cpu_set_t cpuset; in raisePriorityAndLock() local
793 CPU_ZERO(&cpuset); in raisePriorityAndLock()
794 if (sched_getaffinity(0, sizeof(cpuset), &cpuset) != 0) { in raisePriorityAndLock()
802 if (CPU_ISSET(i, &cpuset)) { in raisePriorityAndLock()
806 } else if (!CPU_ISSET(cpu_to_lock, &cpuset)) { in raisePriorityAndLock()
816 CPU_ZERO(&cpuset); in raisePriorityAndLock()
817 CPU_SET(cpu_to_lock, &cpuset); in raisePriorityAndLock()
818 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in raisePriorityAndLock()
/system/core/debuggerd/
Ddebuggerd.rc3 writepid /dev/cpuset/system-background/tasks
Ddebuggerd64.rc3 writepid /dev/cpuset/system-background/tasks
/system/core/gatekeeperd/
Dgatekeeperd.rc4 writepid /dev/cpuset/system-background/tasks
/system/extras/perfprofd/
Dperfprofd.rc6 writepid /dev/cpuset/system-background/tasks
/system/security/keystore/
Dkeystore.rc5 writepid /dev/cpuset/foreground/tasks
/system/core/lmkd/
Dlmkd.rc6 writepid /dev/cpuset/system-background/tasks
/system/update_engine/
Dupdate_engine.rc5 writepid /dev/cpuset/system-background/tasks
/system/vold/
Dvold.rc8 writepid /dev/cpuset/foreground/tasks
/system/extras/tests/workloads/
Drecentfling.sh21 (-B) echo $$ > /dev/cpuset/background/tasks;;
Ddefs.sh109 if ! echo $$ > /dev/cpuset/background/tasks; then
/system/core/logcat/
Dlogcatd.rc66 writepid /dev/cpuset/system-background/tasks
/system/core/init/
Dreadme.txt185 cgroup/cpuset usage.