Searched refs:GetCpusFromString (Results 1 – 7 of 7) sorted by relevance
/system/extras/simpleperf/ |
D | utils_test.cpp | 103 TEST(utils, GetCpusFromString) { in TEST() argument 104 ASSERT_EQ(GetCpusFromString(""), std::vector<int>()); in TEST() 105 ASSERT_EQ(GetCpusFromString("0-2"), std::vector<int>({0, 1, 2})); in TEST() 106 ASSERT_EQ(GetCpusFromString("0,2-3"), std::vector<int>({0, 2, 3})); in TEST() 107 ASSERT_EQ(GetCpusFromString("1,0-3,3,4"), std::vector<int>({0, 1, 2, 3, 4})); in TEST()
|
D | utils.h | 167 std::vector<int> GetCpusFromString(const std::string& s);
|
D | utils.cpp | 414 std::vector<int> GetCpusFromString(const std::string& s) { in GetCpusFromString() function
|
D | event_type.cpp | 239 return GetCpusFromString(cpumask_content); in GetPmuCpumask()
|
D | cmd_stat.cpp | 645 cpus_ = GetCpusFromString(*value->str_value); in ParseOptions()
|
D | environment.cpp | 92 result = GetCpusFromString(line); in GetOnlineCpus()
|
D | cmd_record.cpp | 785 cpus_ = GetCpusFromString(*value->str_value); in ParseOptions()
|