24.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 |
Definition at line 14 of file Instrument.hpp.
enum Unit |
Enumerator | |
---|---|
TIME_NS | |
TIME_US | |
TIME_MS |
Definition at line 16 of file Instrument.hpp.
|
inline |
Definition at line 34 of file Instrument.hpp.
|
default |
|
default |
|
inlinestatic |
Definition at line 23 of file Instrument.hpp.
References Measurement::TIME_MS, Measurement::TIME_NS, and Measurement::TIME_US.
Referenced by JsonPrinter::PrintUnit().
std::string m_Name |
Definition at line 42 of file Instrument.hpp.
Unit m_Unit |
Definition at line 44 of file Instrument.hpp.
double m_Value |
Definition at line 43 of file Instrument.hpp.
Referenced by ProfilerImpl::AnalyzeEventSequenceAndWriteResults(), and ProfilerImpl::CalculateProfilingEventStats().