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 --- 20.02/structarmnn_1_1_measurement.xhtml | 374 ++++++++++++++++++++++++++++++++ 1 file changed, 374 insertions(+) create mode 100644 20.02/structarmnn_1_1_measurement.xhtml (limited to '20.02/structarmnn_1_1_measurement.xhtml') diff --git a/20.02/structarmnn_1_1_measurement.xhtml b/20.02/structarmnn_1_1_measurement.xhtml new file mode 100644 index 0000000000..2d139b094d --- /dev/null +++ b/20.02/structarmnn_1_1_measurement.xhtml @@ -0,0 +1,374 @@ + + + + + + + + + + + + + +ArmNN: Measurement Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ +

#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