Home | History | Annotate | Download | only in simpleperf

Lines Matching refs:workload

17 #include "workload.h"
26 std::unique_ptr<Workload> Workload::CreateWorkload(const std::vector<std::string>& args) {
27 std::unique_ptr<Workload> workload(new Workload(args));
28 if (workload != nullptr && workload->CreateNewProcess()) {
29 return workload;
34 Workload::~Workload() {
36 if (!Workload::WaitChildProcess(false)) {
38 Workload::WaitChildProcess(true);
51 bool Workload::CreateNewProcess() {
118 bool Workload::Start() {
140 bool Workload::WaitChildProcess(bool wait_forever) {