Searched refs:online_cpus (Results 1 – 4 of 4) sorted by relevance
65 std::vector<int> online_cpus = GetOnlineCpus(); in TEST() local66 ASSERT_FALSE(online_cpus.empty()); in TEST()68 event_selection_set.SetCpusForNewEvents({online_cpus[0]}); in TEST()70 event_selection_set.SetCpusForNewEvents({online_cpus.back()}); in TEST()87 ASSERT_EQ(get_cpu(attrs[0].ids[0]), online_cpus[0]); in TEST()90 ASSERT_EQ(get_cpu(attrs[1].ids[0]), online_cpus[0]); in TEST()93 ASSERT_EQ(get_cpu(attrs[2].ids[0]), online_cpus.back()); in TEST()96 ASSERT_EQ(get_cpu(attrs[3].ids[0]), online_cpus.back()); in TEST()
156 std::vector<int> online_cpus = GetOnlineCpus(); in ReadEtmInfo() local161 if (std::find(online_cpus.begin(), online_cpus.end(), cpu) == online_cpus.end()) { in ReadEtmInfo()180 return (etm_info_.size() == online_cpus.size()); in ReadEtmInfo()
424 std::vector<int> online_cpus = GetOnlineCpus(); in GetHardwareCountersForCpus() local433 const std::vector<int>* pcpus = group.cpus.empty() ? &online_cpus : &group.cpus; in GetHardwareCountersForCpus()695 std::vector<int> online_cpus = GetOnlineCpus(); in OpenEventFiles() local702 if (std::find(online_cpus.begin(), online_cpus.end(), cpu) == online_cpus.end()) { in OpenEventFiles()719 pcpus = &online_cpus; in OpenEventFiles()
422 std::vector<int> online_cpus = GetOnlineCpus(); in TEST() local423 ASSERT_FALSE(online_cpus.empty()); in TEST()424 std::string cpu0 = std::to_string(online_cpus[0]); in TEST()425 std::string cpu1 = std::to_string(online_cpus.back()); in TEST()