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

+

Member Function Documentation

+ +

◆ printContents()

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

Definition at line 75 of file CounterDirectory.hpp.

+ +

References armnn::profiling::CentreAlignFormatting().

+ +

Referenced by CategoryRecord::print().

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

◆ printHeader()

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

Definition at line 42 of file CounterDirectory.hpp.

+ +

References armnn::profiling::CentreAlignFormatting().

+ +

Referenced by CategoryRecord::print().

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

Member Data Documentation

+ +

◆ m_CounterClass

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

Definition at line 35 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterDescription

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

Definition at line 39 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterInterpolation

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

Definition at line 36 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterMultiplier

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

Definition at line 37 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterName

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

Definition at line 38 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterSetUid

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

Definition at line 34 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterUid

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

Definition at line 31 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_CounterUnits

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

Definition at line 40 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_DeviceUid

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

Definition at line 33 of file CounterDirectory.hpp.

+ +
+
+ +

◆ m_MaxCounterUid

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

Definition at line 32 of file CounterDirectory.hpp.

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