#include <swcdb/fs/Statistics.h>
Public Member Functions | |
constexpr SWC_CAN_INLINE | Tracker () noexcept |
SWC_CAN_INLINE | Tracker (Metric *a_m) noexcept |
void | stop (bool err) noexcept |
![]() | |
SWC_CAN_INLINE | Measure () noexcept |
constexpr SWC_CAN_INLINE | Measure (typename std::chrono::time_point< ClockT >::duration &&v) noexcept |
SWC_CAN_INLINE void | restart () noexcept |
template<typename T = DurationT> | |
SWC_CAN_INLINE uint64_t | elapsed () const noexcept |
Public Attributes | |
Metric * | m |
Definition at line 69 of file Statistics.h.
|
inlineconstexprnoexcept |
Definition at line 71 of file Statistics.h.
|
inlinenoexcept |
Definition at line 76 of file Statistics.h.
|
inlinenoexcept |
Definition at line 77 of file Statistics.h.
References SWC::FS::Statistics::Metric::add(), SWC::Time::Measure< ClockT, DurationT >::elapsed(), and m.
Metric* SWC::FS::Statistics::Metric::Tracker::m |
Definition at line 80 of file Statistics.h.
Referenced by stop().