Home
last modified time | relevance | path

Searched refs:cpu1 (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
Dutils.cpp389 int cpu1; in GetCpusFromString() local
394 if (!ParseInt(p, &cpu1, 0)) { in GetCpusFromString()
398 cpus.insert(cpu1); in GetCpusFromString()
400 if (!ParseInt(p.substr(0, split_pos), &cpu1, 0) || in GetCpusFromString()
401 !ParseInt(p.substr(split_pos + 1), &cpu2, 0) || cpu1 > cpu2) { in GetCpusFromString()
405 while (cpu1 <= cpu2) { in GetCpusFromString()
406 cpus.insert(cpu1++); in GetCpusFromString()
Dcmd_stat_test.cpp425 std::string cpu1 = std::to_string(online_cpus.back()); in TEST() local
429 ASSERT_TRUE(StatCmd()->Run({"--csv", "--cpu", cpu0, "-e", "cpu-clock", "--cpu", cpu1, "-e", in TEST()
439 ASSERT_NE(line.find("cpu," + cpu1 + ","), line.npos) << output; in TEST()