From cb0630959aeae05bc2ae9f6d80cf5f5983a8fb77 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 23 Nov 2022 11:05:29 +0000 Subject: IVGCVSW-7075 Update Doxygen for 22.11 Release Signed-off-by: Nikhil Raj Change-Id: Ib5669e8fd3739d1b10f5dd694d020d51799896dc --- 22.11/structarmnn_1_1_measurement.xhtml | 374 ++++++++++++++++++++++++++++++++ 1 file changed, 374 insertions(+) create mode 100644 22.11/structarmnn_1_1_measurement.xhtml (limited to '22.11/structarmnn_1_1_measurement.xhtml') diff --git a/22.11/structarmnn_1_1_measurement.xhtml b/22.11/structarmnn_1_1_measurement.xhtml new file mode 100644 index 0000000000..6ac7960461 --- /dev/null +++ b/22.11/structarmnn_1_1_measurement.xhtml @@ -0,0 +1,374 @@ + + + + + + + + + + + + + +ArmNN: Measurement Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ +

#include <Instrument.hpp>

+ + + + +

+Public Types

enum  Unit { TIME_NS, +TIME_US, +TIME_MS + }
 
+ + + + + + + +

+Public Member Functions

 Measurement (const std::string &name, double value, Unit unit)
 
 Measurement (const Measurement &)=default
 
 ~Measurement ()=default
 
+ + + +

+Static Public Member Functions

static const char * ToString (Unit unit)
 
+ + + + + + + +

+Public Attributes

std::string m_Name
 
double m_Value
 
Unit m_Unit
 
+

Detailed Description

+
+

Definition at line 14 of file Instrument.hpp.

+

Member Enumeration Documentation

+ +

◆ Unit

+ +
+
+ + + + +
enum Unit
+
+ + + + +
Enumerator
TIME_NS 
TIME_US 
TIME_MS 
+ +

Definition at line 16 of file Instrument.hpp.

+ +
+
+

Constructor & Destructor Documentation

+ +

◆ Measurement() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Measurement (const std::string & name,
double value,
Unit unit 
)
+
+inline
+
+ +

Definition at line 34 of file Instrument.hpp.

+ +

References Measurement::~Measurement().

+
35  : m_Name(name)
36  , m_Value(value)
37  , m_Unit(unit)
38  {}
+
std::string m_Name
Definition: Instrument.hpp:42
+ +
+
+
+ +

◆ Measurement() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Measurement (const Measurement)
+
+default
+
+ +
+
+ +

◆ ~Measurement()

+ +
+
+ + + + + +
+ + + + + + + +
~Measurement ()
+
+default
+
+ +

Referenced by Measurement::Measurement().

+ +
+
+

Member Function Documentation

+ +

◆ ToString()

+ +
+
+ + + + + +
+ + + + + + + + +
static const char* ToString (Unit unit)
+
+inlinestatic
+
+ +

Definition at line 23 of file Instrument.hpp.

+ +

References Measurement::TIME_MS, Measurement::TIME_NS, and Measurement::TIME_US.

+ +

Referenced by JsonPrinter::PrintUnit().

+
24  {
25  switch (unit)
26  {
27  case TIME_NS: return "ns";
28  case TIME_US: return "us";
29  case TIME_MS: return "ms";
30  default: return "";
31  }
32  }
+ + +
+
+
+

Member Data Documentation

+ +

◆ m_Name

+ +
+
+ + + + +
std::string m_Name
+
+ +

Definition at line 42 of file Instrument.hpp.

+ +
+
+ +

◆ m_Unit

+ +
+
+ + + + +
Unit m_Unit
+
+ +

Definition at line 44 of file Instrument.hpp.

+ +
+
+ +

◆ m_Value

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