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 --- ...tructarmnn_1_1gatordmock_1_1_event_record.xhtml | 397 +++++++++++++++++++++ 1 file changed, 397 insertions(+) create mode 100644 21.02/structarmnn_1_1gatordmock_1_1_event_record.xhtml (limited to '21.02/structarmnn_1_1gatordmock_1_1_event_record.xhtml') diff --git a/21.02/structarmnn_1_1gatordmock_1_1_event_record.xhtml b/21.02/structarmnn_1_1gatordmock_1_1_event_record.xhtml new file mode 100644 index 0000000000..163033fbe3 --- /dev/null +++ b/21.02/structarmnn_1_1gatordmock_1_1_event_record.xhtml @@ -0,0 +1,397 @@ + + + + + + + + + + + + + +ArmNN: EventRecord Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ +

#include <CounterDirectory.hpp>

+ + + + +

+Public Member Functions

void printContents () const
 
+ + + +

+Static Public Member Functions

static void printHeader (std::string categoryName)
 
+ + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

uint16_t m_CounterUid
 
uint16_t m_MaxCounterUid
 
uint16_t m_DeviceUid
 
uint16_t m_CounterSetUid
 
uint16_t m_CounterClass
 
uint16_t m_CounterInterpolation
 
double m_CounterMultiplier
 
std::string m_CounterName
 
std::string m_CounterDescription
 
std::string m_CounterUnits
 
+

Detailed Description

+
+

Definition at line 30 of file CounterDirectory.hpp.

+

Member Function Documentation

+ +

◆ printContents()

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

Definition at line 76 of file CounterDirectory.hpp.

+ +

References armnn::profiling::CentreAlignFormatting().

+ +

Referenced by CategoryRecord::print().

+
77  {
78  std::string body;
79 
81  body.append(" | ");
83  body.append(" | ");
85  body.append(" | ");
86  body.append(gatordmock::CentreAlignFormatting(std::to_string(m_CounterUid), 6));
87  body.append(" | ");
88  body.append(gatordmock::CentreAlignFormatting(std::to_string(m_MaxCounterUid), 10));
89  body.append(" | ");
90  body.append(gatordmock::CentreAlignFormatting(std::to_string(m_CounterClass), 8));
91  body.append(" | ");
92  body.append(gatordmock::CentreAlignFormatting(std::to_string(m_CounterInterpolation), 14));
93  body.append(" | ");
94  body.append(gatordmock::CentreAlignFormatting(std::to_string(m_CounterMultiplier), 20));
95  body.append(" | ");
96  body.append(gatordmock::CentreAlignFormatting(std::to_string(m_CounterSetUid), 16));
97  body.append(" | ");
98  body.append(gatordmock::CentreAlignFormatting(std::to_string(m_DeviceUid), 14));
99 
100  body.append("\n");
101 
102  std::cout << std::string(body.size(), '-') << "\n";
103 
104  std::cout << body;
105  }
+ + + + + + + + +
std::string CentreAlignFormatting(const std::string &stringToPass, const int spacingWidth)
+ +
+
+
+ +

◆ printHeader()

+ +
+
+ + + + + +
+ + + + + + + + +
static void printHeader (std::string categoryName)
+
+inlinestatic
+
+ +

Definition at line 43 of file CounterDirectory.hpp.

+ +

References armnn::profiling::CentreAlignFormatting().

+ +

Referenced by CategoryRecord::print().

+
44  {
45  std::string header;
46 
47  header.append(gatordmock::CentreAlignFormatting("Counter Name", 20));
48  header.append(" | ");
49  header.append(gatordmock::CentreAlignFormatting("Description", 50));
50  header.append(" | ");
51  header.append(gatordmock::CentreAlignFormatting("Units", 14));
52  header.append(" | ");
53  header.append(gatordmock::CentreAlignFormatting("UID", 6));
54  header.append(" | ");
55  header.append(gatordmock::CentreAlignFormatting("Max UID",10));
56  header.append(" | ");
57  header.append(gatordmock::CentreAlignFormatting("Class", 8));
58  header.append(" | ");
59  header.append(gatordmock::CentreAlignFormatting("Interpolation", 14));
60  header.append(" | ");
61  header.append(gatordmock::CentreAlignFormatting("Multiplier", 20));
62  header.append(" | ");
63  header.append(gatordmock::CentreAlignFormatting("Counter set UID", 16));
64  header.append(" | ");
65  header.append(gatordmock::CentreAlignFormatting("Device UID", 14));
66  header.append("\n");
67 
68  std::cout << "\n" << "\n";
69  std::cout << gatordmock::CentreAlignFormatting("EVENTS IN CATEGORY: " + categoryName,
70  static_cast<int>(header.size()));
71  std::cout << "\n";
72  std::cout << std::string(header.size(), '=') << "\n";
73  std::cout << header;
74  }
std::string CentreAlignFormatting(const std::string &stringToPass, const int spacingWidth)
+
+
+
+

Member Data Documentation

+ +

◆ m_CounterClass

+ +
+
+ + + + +
uint16_t m_CounterClass
+
+ +

Definition at line 36 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterDescription

+ +
+
+ + + + +
std::string m_CounterDescription
+
+ +

Definition at line 40 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterInterpolation

+ +
+
+ + + + +
uint16_t m_CounterInterpolation
+
+ +

Definition at line 37 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterMultiplier

+ +
+
+ + + + +
double m_CounterMultiplier
+
+ +

Definition at line 38 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterName

+ +
+
+ + + + +
std::string m_CounterName
+
+ +

Definition at line 39 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterSetUid

+ +
+
+ + + + +
uint16_t m_CounterSetUid
+
+ +

Definition at line 35 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterUid

+ +
+
+ + + + +
uint16_t m_CounterUid
+
+ +

Definition at line 32 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterUnits

+ +
+
+ + + + +
std::string m_CounterUnits
+
+ +

Definition at line 41 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_DeviceUid

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

Definition at line 34 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_MaxCounterUid

+ +
+
+ + + + +
uint16_t m_MaxCounterUid
+
+ +

Definition at line 33 of file CounterDirectory.hpp.

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