Lines Matching refs:Workload
27 std::unique_ptr<Workload> Workload::CreateWorkload(const std::vector<std::string>& args) { in CreateWorkload()
28 std::unique_ptr<Workload> workload(new Workload(args, std::function<void ()>())); in CreateWorkload()
35 std::unique_ptr<Workload> Workload::CreateWorkload(const std::function<void ()>& function) { in CreateWorkload()
36 std::unique_ptr<Workload> workload(new Workload(std::vector<std::string>(), function)); in CreateWorkload()
43 Workload::~Workload() { in ~Workload()
45 if (!Workload::WaitChildProcess(false, false)) { in ~Workload()
47 Workload::WaitChildProcess(true, true); in ~Workload()
58 bool Workload::CreateNewProcess() { in CreateNewProcess()
100 void Workload::ChildProcessFn(int start_signal_fd, int exec_child_fd) { in ChildProcessFn()
132 bool Workload::Start() { in Start()
154 bool Workload::WaitChildProcess(bool wait_forever, bool is_child_killed) { in WaitChildProcess()