Searched refs:CreateWorkload (Results 1 – 7 of 7) sorted by relevance
30 auto workload = Workload::CreateWorkload({"sleep", "1"}); in TEST()38 auto workload = Workload::CreateWorkload({"/dev/null"}); in TEST()49 auto workload = Workload::CreateWorkload({"sleep", "10"}); in run_signaled_workload()70 auto workload = Workload::CreateWorkload({"ls", "nonexistdir"}); in run_exit_nonzero_workload()
38 static std::unique_ptr<Workload> CreateWorkload(const std::vector<std::string>& args);39 static std::unique_ptr<Workload> CreateWorkload(const std::function<void ()>& function);
28 std::unique_ptr<Workload> Workload::CreateWorkload(const std::vector<std::string>& args) { in CreateWorkload() function in Workload36 std::unique_ptr<Workload> Workload::CreateWorkload(const std::function<void ()>& function) { in CreateWorkload() function in Workload
93 workload = Workload::CreateWorkload(RunWorkloadFunction); in CreateProcesses()
413 workload = Workload::CreateWorkload(workload_args); in Run()
714 std::unique_ptr<Workload> workload = Workload::CreateWorkload(ChildProcFn); in RunCmdInApp()
376 workload = Workload::CreateWorkload(workload_args); in Run()