Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_selection_set.cpp181 static bool CheckIfCpusOnline(const std::vector<int>& cpus) { in CheckIfCpusOnline() argument
183 for (const auto& cpu : cpus) { in CheckIfCpusOnline()
192 bool EventSelectionSet::OpenEventFilesForCpus(const std::vector<int>& cpus) { in OpenEventFilesForCpus() argument
193 return OpenEventFilesForThreadsOnCpus({-1}, cpus); in OpenEventFilesForCpus()
197 std::vector<int> cpus) { in OpenEventFilesForThreadsOnCpus() argument
198 if (!cpus.empty()) { in OpenEventFilesForThreadsOnCpus()
199 if (!CheckIfCpusOnline(cpus)) { in OpenEventFilesForThreadsOnCpus()
203 cpus = GetOnlineCpus(); in OpenEventFilesForThreadsOnCpus()
205 return OpenEventFiles(threads, cpus); in OpenEventFilesForThreadsOnCpus()
209 const std::vector<int>& cpus) { in OpenEventFiles() argument
[all …]
Devent_selection_set.h72 bool OpenEventFilesForCpus(const std::vector<int>& cpus);
73 bool OpenEventFilesForThreadsOnCpus(const std::vector<pid_t>& threads, std::vector<int> cpus);
85 bool OpenEventFiles(const std::vector<pid_t>& threads, const std::vector<int>& cpus);
/system/core/rootdir/
Dinit.rc155 # init.rc must actually set the correct cpus
157 write /dev/cpuset/foreground/cpus 0
160 write /dev/cpuset/foreground/boost/cpus 0
163 write /dev/cpuset/background/cpus 0
170 write /dev/cpuset/system-background/cpus 0
174 write /dev/cpuset/top-app/cpus 0