From fb14ebbd68e04876809145296af96f6f41857418 Mon Sep 17 00:00:00 2001 From: James Ward Date: Thu, 26 Nov 2020 11:08:12 +0000 Subject: IVGCVSW-5348 Update Doxygen Docu * Update Doxygen Documentation for 20.11 release Signed-off-by: James Ward Change-Id: Ib47edac7923a642a277b1169d1085e5622021dc0 --- 20.11/classarmnn_1_1_execution_frame.xhtml | 310 +++++++++++++++++++++++++++++ 1 file changed, 310 insertions(+) create mode 100644 20.11/classarmnn_1_1_execution_frame.xhtml (limited to '20.11/classarmnn_1_1_execution_frame.xhtml') diff --git a/20.11/classarmnn_1_1_execution_frame.xhtml b/20.11/classarmnn_1_1_execution_frame.xhtml new file mode 100644 index 0000000000..c121ca3a2e --- /dev/null +++ b/20.11/classarmnn_1_1_execution_frame.xhtml @@ -0,0 +1,310 @@ + + + + + + + + + + + + + +ArmNN: ExecutionFrame Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
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