From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- ...ructarmnn_1_1gatordmock_1_1_device_record.xhtml | 263 +++++++++++++++++++++ 1 file changed, 263 insertions(+) create mode 100644 21.02/structarmnn_1_1gatordmock_1_1_device_record.xhtml (limited to '21.02/structarmnn_1_1gatordmock_1_1_device_record.xhtml') diff --git a/21.02/structarmnn_1_1gatordmock_1_1_device_record.xhtml b/21.02/structarmnn_1_1gatordmock_1_1_device_record.xhtml new file mode 100644 index 0000000000..aa353435ba --- /dev/null +++ b/21.02/structarmnn_1_1gatordmock_1_1_device_record.xhtml @@ -0,0 +1,263 @@ + + + + + + + + + + + + + +ArmNN: DeviceRecord Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ +

#include <CounterDirectory.hpp>

+ + + + +

+Public Member Functions

void printContents () const
 
+ + + +

+Static Public Member Functions

static void printHeader ()
 
+ + + + + + + +

+Public Attributes

uint16_t m_DeviceUid
 
uint16_t m_DeviceCores
 
std::string m_DeviceName
 
+

Detailed Description

+
+

Definition at line 190 of file CounterDirectory.hpp.

+

Member Function Documentation

+ +

◆ printContents()

+ +
+
+ + + + + +
+ + + + + + + +
void printContents () const
+
+inline
+
+ +

Definition at line 214 of file CounterDirectory.hpp.

+ +

References armnn::profiling::CentreAlignFormatting().

+ +

Referenced by CounterDirectory::print().

+
215  {
216  std::string body;
217 
219  body.append(" | ");
220  body.append(gatordmock::CentreAlignFormatting(std::to_string(m_DeviceUid), 13));
221  body.append(" | ");
222  body.append(gatordmock::CentreAlignFormatting(std::to_string(m_DeviceCores), 10));
223  body.append("\n");
224 
225  std::cout << std::string(body.size(), '-') << "\n";
226  std::cout<< body;
227  }
+ + +
std::string CentreAlignFormatting(const std::string &stringToPass, const int spacingWidth)
+
+
+
+ +

◆ printHeader()

+ +
+
+ + + + + +
+ + + + + + + +
static void printHeader ()
+
+inlinestatic
+
+ +

Definition at line 196 of file CounterDirectory.hpp.

+ +

References armnn::profiling::CentreAlignFormatting().

+ +

Referenced by CounterDirectory::print().

+
197  {
198  std::string header;
199 
200  header.append(gatordmock::CentreAlignFormatting("Device name", 20));
201  header.append(" | ");
202  header.append(gatordmock::CentreAlignFormatting("UID",13));
203  header.append(" | ");
204  header.append(gatordmock::CentreAlignFormatting("Cores",10));
205  header.append("\n");
206 
207  std::cout << "\n" << "\n";
208  std::cout << gatordmock::CentreAlignFormatting("DEVICES", static_cast<int>(header.size()));
209  std::cout << "\n";
210  std::cout << std::string(header.size(), '=') << "\n";
211  std::cout<< header;
212  }
std::string CentreAlignFormatting(const std::string &stringToPass, const int spacingWidth)
+
+
+
+

Member Data Documentation

+ +

◆ m_DeviceCores

+ +
+
+ + + + +
uint16_t m_DeviceCores
+
+ +

Definition at line 193 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_DeviceName

+ +
+
+ + + + +
std::string m_DeviceName
+
+ +

Definition at line 194 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_DeviceUid

+ +
+
+ + + + +
uint16_t m_DeviceUid
+
+ +

Definition at line 192 of file CounterDirectory.hpp.

+ +
+
+
The documentation for this struct was generated from the following file: +
+
+ + + + -- cgit v1.2.1