Searched refs:Workload (Results 1 – 5 of 5) sorted by relevance
26 std::unique_ptr<Workload> Workload::CreateWorkload(const std::vector<std::string>& args) { in CreateWorkload()27 std::unique_ptr<Workload> workload(new Workload(args)); in CreateWorkload()36 bool Workload::CreateNewProcess() { in CreateNewProcess()103 bool Workload::Start() { in Start()121 bool Workload::IsFinished() { in IsFinished()128 void Workload::WaitFinish() { in WaitFinish()135 void Workload::WaitChildProcess(bool no_hang) { in WaitChildProcess()
27 class Workload {37 static std::unique_ptr<Workload> CreateWorkload(const std::vector<std::string>& args);39 ~Workload() { in ~Workload()56 Workload(const std::vector<std::string>& args) in Workload() function73 DISALLOW_COPY_AND_ASSIGN(Workload);
26 auto workload = Workload::CreateWorkload({"sleep", "1"}); in TEST()40 auto workload = Workload::CreateWorkload({"/dev/null"}); in TEST()
77 std::unique_ptr<Workload> workload = Workload::CreateWorkload(workload_args); in Run()
104 std::unique_ptr<Workload> workload = Workload::CreateWorkload(workload_args); in Run()