Lines Matching refs:workload
339 bool PrepareRecording(Workload* workload);
340 bool DoRecording(Workload* workload);
480 std::unique_ptr<Workload> workload; in Run() local
482 workload = Workload::CreateWorkload(workload_args); in Run()
483 if (workload == nullptr) { in Run()
487 if (!PrepareRecording(workload.get())) { in Run()
491 if (!DoRecording(workload.get())) { in Run()
497 bool RecordCommand::PrepareRecording(Workload* workload) { in PrepareRecording() argument
534 if (workload != nullptr) { in PrepareRecording()
535 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in PrepareRecording()
663 bool RecordCommand::DoRecording(Workload* workload) { in DoRecording() argument
665 if (workload != nullptr && !workload->IsStarted() && !workload->Start()) { in DoRecording()