Home
last modified time | relevance | path

Searched refs:cpuset (Results 1 – 25 of 25) 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/core/rootdir/
Dinit.rc155 mkdir /dev/cpuset
156 mount cpuset none /dev/cpuset
160 mkdir /dev/cpuset/foreground
161 copy /dev/cpuset/cpus /dev/cpuset/foreground/cpus
162 copy /dev/cpuset/mems /dev/cpuset/foreground/mems
163 mkdir /dev/cpuset/foreground/boost
164 copy /dev/cpuset/cpus /dev/cpuset/foreground/boost/cpus
165 copy /dev/cpuset/mems /dev/cpuset/foreground/boost/mems
166 mkdir /dev/cpuset/background
167 copy /dev/cpuset/cpus /dev/cpuset/background/cpus
[all …]
Dinit.zygote32_64.rc14 writepid /dev/cpuset/foreground/tasks
23 writepid /dev/cpuset/foreground/tasks
Dinit.zygote64_32.rc14 writepid /dev/cpuset/foreground/tasks
23 writepid /dev/cpuset/foreground/tasks
Dinit.zygote64.rc14 writepid /dev/cpuset/foreground/tasks
Dinit.zygote32.rc14 writepid /dev/cpuset/foreground/tasks
/system/extras/tests/memtest/
Dbandwidth.cpp156 cpu_set_t cpuset; in getAvailCpus() local
158 CPU_ZERO(&cpuset); in getAvailCpus()
159 if (sched_getaffinity(0, sizeof(cpuset), &cpuset) != 0) { in getAvailCpus()
165 if (CPU_ISSET(i, &cpuset)) { in getAvailCpus()
184 cpu_set_t cpuset; in runBandwidthThread() local
185 CPU_ZERO(&cpuset); in runBandwidthThread()
186 CPU_SET(arg->core, &cpuset); in runBandwidthThread()
187 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in runBandwidthThread()
/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/core/logd/
Dlogd.rc9 writepid /dev/cpuset/system-background/tasks
16 writepid /dev/cpuset/system-background/tasks
/system/sepolicy/public/
Dperformanced.te17 # Access /dev/cpuset/cpuset.cpus
Ddumpstate.te91 # Read /dev/cpuctl and /dev/cpuset
/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/core/storaged/
Dstoraged.rc5 writepid /dev/cpuset/system-background/tasks
/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/hwservicemanager/
Dhwservicemanager.rc9 writepid /dev/cpuset/system-background/tasks
/system/core/debuggerd/tombstoned/
Dtombstoned.rc10 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.rc63 writepid /dev/cpuset/system-background/tasks
/system/core/init/
DREADME.md214 cgroup/cpuset usage. If no files under /dev/cpuset/ are specified, but the
215 system property 'ro.cpuset.default' is set to a non-empty cpuset name (e.g.
216 '/foreground'), then the pid is written to file /dev/cpuset/_cpuset\_name_/tasks.