Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_selection_set.cpp551 static bool CheckIfCpusOnline(const std::vector<int>& cpus) { in CheckIfCpusOnline() argument
553 for (const auto& cpu : cpus) { in CheckIfCpusOnline()
597 bool EventSelectionSet::OpenEventFiles(const std::vector<int>& cpus) { in OpenEventFiles() argument
599 if (cpus.empty()) { in OpenEventFiles()
601 } else if (cpus.size() == 1 && cpus[0] == -1) { in OpenEventFiles()
604 if (!CheckIfCpusOnline(cpus)) { in OpenEventFiles()
607 monitored_cpus = cpus; in OpenEventFiles()
Dutils.cpp385 std::set<int> cpus; in GetCpusFromString() local
395 cpus.insert(cpu1); in GetCpusFromString()
403 cpus.insert(cpu1++); in GetCpusFromString()
407 return cpus; in GetCpusFromString()
Devent_type.cpp461 if (auto cpus = GetCpusFromString(cpumask_content); cpus) { in GetPmuCpumask() local
462 return std::vector<int>(cpus->begin(), cpus->end()); in GetPmuCpumask()
Dcmd_stat.cpp636 if (auto cpus = GetCpusFromString(*value->str_value); cpus) { in ParseOptions() local
637 cpus_.assign(cpus->begin(), cpus->end()); in ParseOptions()
Denvironment.cpp66 if (auto cpus = GetCpusFromString(*line); cpus) { in GetOnlineCpus() local
67 result.assign(cpus->begin(), cpus->end()); in GetOnlineCpus()
Devent_selection_set.h161 bool OpenEventFiles(const std::vector<int>& cpus);
Dcmd_record.cpp860 if (auto cpus = GetCpusFromString(*value->str_value); cpus) { in ParseOptions() local
861 cpus_.assign(cpus->begin(), cpus->end()); in ParseOptions()
1154 long cpus = sysconf(_SC_NPROCESSORS_CONF); in AdjustPerfEventLimit() local
1155 uint64_t mlock_kb = cpus * (mmap_page_range_.second + 1) * 4; in AdjustPerfEventLimit()
1157 mlock_kb += cpus * aux_buffer_size_ / 1024; in AdjustPerfEventLimit()
Dcmd_report.cpp552 if (auto cpus = GetCpusFromString(*value.str_value); cpus) { in ParseOptions() local
553 sample_tree_builder_options_.cpu_filter.insert(cpus->begin(), cpus->end()); in ParseOptions()
Dcmd_monitor.cpp464 long cpus = sysconf(_SC_NPROCESSORS_CONF); in AdjustPerfEventLimit() local
465 uint64_t mlock_kb = cpus * (mmap_page_range_.second + 1) * 4; in AdjustPerfEventLimit()
/system/sepolicy/prebuilts/api/26.0/public/
Dperformanced.te17 # Access /dev/cpuset/cpuset.cpus
/system/sepolicy/prebuilts/api/27.0/public/
Dperformanced.te22 # Access /dev/cpuset/cpuset.cpus
/system/sepolicy/prebuilts/api/29.0/public/
Dperformanced.te29 # Access /dev/cpuset/cpuset.cpus
/system/sepolicy/prebuilts/api/30.0/public/
Dperformanced.te29 # Access /dev/cpuset/cpuset.cpus
/system/sepolicy/prebuilts/api/28.0/public/
Dperformanced.te29 # Access /dev/cpuset/cpuset.cpus
/system/sepolicy/prebuilts/api/31.0/public/
Dperformanced.te29 # Access /dev/cpuset/cpuset.cpus
/system/sepolicy/public/
Dperformanced.te29 # Access /dev/cpuset/cpuset.cpus
/system/core/rootdir/
Dinit.rc322 # init.rc must actually set the correct cpus
324 copy /dev/cpuset/cpus /dev/cpuset/foreground/cpus
327 copy /dev/cpuset/cpus /dev/cpuset/background/cpus
333 copy /dev/cpuset/cpus /dev/cpuset/system-background/cpus
339 copy /dev/cpuset/cpus /dev/cpuset/restricted/cpus
343 copy /dev/cpuset/cpus /dev/cpuset/top-app/cpus
348 copy /dev/cpuset/cpus /dev/cpuset/camera-daemon/cpus
/system/extras/simpleperf/doc/
Dexecutable_commands_reference.md133 886.008130(ms) task-clock # 0.088390 cpus used (100%)