From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/classarmnn_1_1_execution_frame.xhtml | 310 +++++++++++++++++++++++++++++ 1 file changed, 310 insertions(+) create mode 100644 20.02/classarmnn_1_1_execution_frame.xhtml (limited to '20.02/classarmnn_1_1_execution_frame.xhtml') diff --git a/20.02/classarmnn_1_1_execution_frame.xhtml b/20.02/classarmnn_1_1_execution_frame.xhtml new file mode 100644 index 0000000000..65a3a10bde --- /dev/null +++ b/20.02/classarmnn_1_1_execution_frame.xhtml @@ -0,0 +1,310 @@ + + + + + + + + + + + + + +ArmNN: ExecutionFrame Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ExecutionFrame Class Reference
+
+
+ +

#include <ExecutionFrame.hpp>

+
+Inheritance diagram for ExecutionFrame:
+
+
+ + +IExecutionFrame + +
+ + + + + + + + + + + + + + + + + +

+Public Member Functions

 ExecutionFrame ()
 
IExecutionFrameExecuteWorkloads (IExecutionFrame *previousFrame) override
 
void PostAllocationConfigure () override
 
void RegisterDebugCallback (const DebugCallbackFunction &func) override
 
void AddWorkloadToQueue (std::unique_ptr< IWorkload > workload)
 
void SetNextExecutionFrame (IExecutionFrame *nextExecutionFrame)
 
- Public Member Functions inherited from IExecutionFrame
virtual ~IExecutionFrame ()
 
+

Detailed Description

+
+

Definition at line 27 of file ExecutionFrame.hpp.

+

Constructor & Destructor Documentation

+ +

◆ ExecutionFrame()

+ +
+
+ + + + + + + +
ExecutionFrame ()
+
+ +

Definition at line 12 of file ExecutionFrame.cpp.

+
12 {}
+
+
+

Member Function Documentation

+ +

◆ AddWorkloadToQueue()

+ +
+
+ + + + + + + + +
void AddWorkloadToQueue (std::unique_ptr< IWorkloadworkload)
+
+ +

Definition at line 40 of file ExecutionFrame.cpp.

+
41 {
42  m_WorkloadQueue.push_back(move(workload));
43 }
+
+
+ +

◆ ExecuteWorkloads()

+ +
+
+ + + + + +
+ + + + + + + + +
IExecutionFrame * ExecuteWorkloads (IExecutionFramepreviousFrame)
+
+overridevirtual
+
+ +

Implements IExecutionFrame.

+ +

Definition at line 14 of file ExecutionFrame.cpp.

+ +

References armnn::IgnoreUnused().

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
15 {
16  IgnoreUnused(previousFrame);
17  for (auto& workload: m_WorkloadQueue)
18  {
19  workload->Execute();
20  }
21  return m_NextExecutionFrame;
22 }
void IgnoreUnused(Ts &&...)
+
+
+
+ +

◆ PostAllocationConfigure()

+ +
+
+ + + + + +
+ + + + + + + +
void PostAllocationConfigure ()
+
+overridevirtual
+
+ +

Reimplemented from IExecutionFrame.

+ +

Definition at line 24 of file ExecutionFrame.cpp.

+
25 {
26  for (auto&& workloadPtr: m_WorkloadQueue)
27  {
28  workloadPtr.get()->PostAllocationConfigure();
29  }
30 }
+
+
+ +

◆ RegisterDebugCallback()

+ +
+
+ + + + + +
+ + + + + + + + +
void RegisterDebugCallback (const DebugCallbackFunctionfunc)
+
+overridevirtual
+
+ +

Reimplemented from IExecutionFrame.

+ +

Definition at line 32 of file ExecutionFrame.cpp.

+
33 {
34  for (auto&& workloadPtr: m_WorkloadQueue)
35  {
36  workloadPtr.get()->RegisterDebugCallback(func);
37  }
38 }
+
+
+ +

◆ SetNextExecutionFrame()

+ +
+
+ + + + + + + + +
void SetNextExecutionFrame (IExecutionFramenextExecutionFrame)
+
+ +

Definition at line 45 of file ExecutionFrame.cpp.

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
46 {
47  m_NextExecutionFrame = nextExecutionFrame;
48 }
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1