Home
last modified time | relevance | path

Searched refs:workload (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
Dworkload_test.cpp25 TEST(workload, smoke) { in TEST() argument
26 auto workload = Workload::CreateWorkload({"sleep", "1"}); in TEST() local
27 ASSERT_TRUE(workload != nullptr); in TEST()
28 ASSERT_FALSE(workload->IsFinished()); in TEST()
29 ASSERT_TRUE(workload->GetPid() != 0); in TEST()
31 ASSERT_TRUE(workload->Start()); in TEST()
32 ASSERT_FALSE(workload->IsFinished()); in TEST()
33 workload->WaitFinish(); in TEST()
34 ASSERT_TRUE(workload->IsFinished()); in TEST()
39 TEST(workload, execvp_failure) { in TEST() argument
[all …]
Dworkload.cpp27 std::unique_ptr<Workload> workload(new Workload(args)); in CreateWorkload() local
28 if (workload != nullptr && workload->CreateNewProcess()) { in CreateWorkload()
29 return workload; in CreateWorkload()
Dcmd_stat.cpp77 std::unique_ptr<Workload> workload = Workload::CreateWorkload(workload_args); in Run() local
78 if (workload == nullptr) { in Run()
89 if (!event_selection_set_.OpenEventFilesForProcess(workload->GetPid())) { in Run()
103 if (!workload->Start()) { in Run()
106 workload->WaitFinish(); in Run()
Dcmd_record.cpp104 std::unique_ptr<Workload> workload = Workload::CreateWorkload(workload_args); in Run() local
105 if (workload == nullptr) { in Run()
117 if (!event_selection_set_.OpenEventFilesForProcess(workload->GetPid())) { in Run()
150 if (!workload->Start()) { in Run()
159 if (workload->IsFinished()) { in Run()
DAndroid.mk43 workload.cpp \