Lines Matching refs:workload
267 bool PrepareRecording(Workload* workload);
268 bool DoRecording(Workload* workload);
374 std::unique_ptr<Workload> workload; in Run() local
376 workload = Workload::CreateWorkload(workload_args); in Run()
377 if (workload == nullptr) { in Run()
382 if (!PrepareRecording(workload.get())) { in Run()
386 if (!DoRecording(workload.get())) { in Run()
392 bool RecordCommand::PrepareRecording(Workload* workload) { in PrepareRecording() argument
429 if (workload != nullptr) { in PrepareRecording()
430 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in PrepareRecording()
435 if (!workload->Start()) { in PrepareRecording()
549 bool RecordCommand::DoRecording(Workload* workload) { in DoRecording() argument
551 if (workload != nullptr && !workload->IsStarted() && !workload->Start()) { in DoRecording()