Searched refs:cpu_set (Results 1 – 2 of 2) sorted by relevance
413 bool IsCpuSetSpecValid(const std::string& cpu_set) { in IsCpuSetSpecValid() argument414 for (const std::string& str : Split(cpu_set, ",")) { in IsCpuSetSpecValid()435 std::string cpu_set; in AddDex2OatConcurrencyArguments() local437 cpu_set = system_properties.GetOrEmpty("dalvik.vm.background-dex2oat-cpu-set", in AddDex2OatConcurrencyArguments()440 cpu_set = system_properties.GetOrEmpty("dalvik.vm.boot-dex2oat-cpu-set"); in AddDex2OatConcurrencyArguments()442 if (!cpu_set.empty()) { in AddDex2OatConcurrencyArguments()443 if (!IsCpuSetSpecValid(cpu_set)) { in AddDex2OatConcurrencyArguments()444 return Errorf("Invalid CPU set spec '{}'", cpu_set); in AddDex2OatConcurrencyArguments()446 args.Add("--cpu-set=%s", cpu_set); in AddDex2OatConcurrencyArguments()
1679 std::string cpu_set; in AddPerfConfigFlags() local1682 cpu_set = props_->GetOrEmpty("dalvik.vm.boot-dex2oat-cpu-set"); in AddPerfConfigFlags()1685 cpu_set = props_->GetOrEmpty("dalvik.vm.restore-dex2oat-cpu-set", default_cpu_set_prop); in AddPerfConfigFlags()1688 cpu_set = props_->GetOrEmpty("dalvik.vm.background-dex2oat-cpu-set", default_cpu_set_prop); in AddPerfConfigFlags()1691 cpu_set = props_->GetOrEmpty(default_cpu_set_prop); in AddPerfConfigFlags()1694 dex2oat_args.AddIfNonEmpty("--cpu-set=%s", cpu_set).AddIfNonEmpty("-j%s", threads); in AddPerfConfigFlags()