Searched refs:workload (Results 1 – 5 of 5) sorted by relevance
25 TEST(workload, smoke) { in TEST() argument26 auto workload = Workload::CreateWorkload({"sleep", "1"}); in TEST() local27 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 …]
27 std::unique_ptr<Workload> workload(new Workload(args)); in CreateWorkload() local28 if (workload != nullptr && workload->CreateNewProcess()) { in CreateWorkload()29 return workload; in CreateWorkload()
77 std::unique_ptr<Workload> workload = Workload::CreateWorkload(workload_args); in Run() local78 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()
104 std::unique_ptr<Workload> workload = Workload::CreateWorkload(workload_args); in Run() local105 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()
43 workload.cpp \