Home
last modified time | relevance | path

Searched refs:workloads (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/
Dcmd_record_test.cpp251 std::vector<std::unique_ptr<Workload>> workloads; in TEST() local
252 CreateProcesses(1, &workloads); in TEST()
253 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST()
276 std::vector<std::unique_ptr<Workload>> workloads; in TEST() local
277 CreateProcesses(1, &workloads); in TEST()
278 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST()
285 std::vector<std::unique_ptr<Workload>> workloads; in TEST() local
286 CreateProcesses(2, &workloads); in TEST()
288 android::base::StringPrintf("%d,%d", workloads[0]->GetPid(), workloads[1]->GetPid()); in TEST()
293 std::vector<std::unique_ptr<Workload>> workloads; in TEST() local
[all …]
Dcmd_stat_test.cpp106 void CreateProcesses(size_t count, std::vector<std::unique_ptr<Workload>>* workloads) { in CreateProcesses() argument
107 workloads->clear(); in CreateProcesses()
114 workloads->push_back(std::move(workload)); in CreateProcesses()
119 std::vector<std::unique_ptr<Workload>> workloads; in TEST() local
120 CreateProcesses(2, &workloads); in TEST()
122 android::base::StringPrintf("%d,%d", workloads[0]->GetPid(), workloads[1]->GetPid()); in TEST()
127 std::vector<std::unique_ptr<Workload>> workloads; in TEST() local
128 CreateProcesses(2, &workloads); in TEST()
131 android::base::StringPrintf("%d,%d", workloads[0]->GetPid(), workloads[1]->GetPid()); in TEST()
Dcmd_report_test.cpp546 std::vector<std::unique_ptr<Workload>> workloads; in TEST_F() local
547 CreateProcesses(1, &workloads); in TEST_F()
548 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST_F()
567 std::vector<std::unique_ptr<Workload>> workloads; in TEST_F() local
568 CreateProcesses(1, &workloads); in TEST_F()
569 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST_F()
Dtest_util.h35 void CreateProcesses(size_t count, std::vector<std::unique_ptr<Workload>>* workloads);