Searched refs:cpus (Results 1 – 3 of 3) sorted by relevance
181 static bool CheckIfCpusOnline(const std::vector<int>& cpus) { in CheckIfCpusOnline() argument183 for (const auto& cpu : cpus) { in CheckIfCpusOnline()192 bool EventSelectionSet::OpenEventFilesForCpus(const std::vector<int>& cpus) { in OpenEventFilesForCpus() argument193 return OpenEventFilesForThreadsOnCpus({-1}, cpus); in OpenEventFilesForCpus()197 std::vector<int> cpus) { in OpenEventFilesForThreadsOnCpus() argument198 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 …]
72 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);
155 # init.rc must actually set the correct cpus157 write /dev/cpuset/foreground/cpus 0160 write /dev/cpuset/foreground/boost/cpus 0163 write /dev/cpuset/background/cpus 0170 write /dev/cpuset/system-background/cpus 0174 write /dev/cpuset/top-app/cpus 0