12 ExecutionFrame::ExecutionFrame() {}
17 for (
auto& workload: m_WorkloadQueue)
21 return m_NextExecutionFrame;
24 void ExecutionFrame::PostAllocationConfigure()
26 for (
auto&& workloadPtr: m_WorkloadQueue)
28 workloadPtr.get()->PostAllocationConfigure();
34 for (
auto&& workloadPtr: m_WorkloadQueue)
36 workloadPtr.get()->RegisterDebugCallback(func);
40 void ExecutionFrame::AddWorkloadToQueue(std::unique_ptr<IWorkload> workload)
42 m_WorkloadQueue.push_back(std::move(workload));
47 m_NextExecutionFrame = nextExecutionFrame;