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