CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace utils {
29 using Clock = std::chrono::steady_clock;
39 auto elapsedDuration = Clock::now() -
m_start;
40 return static_cast<uint64_t>(std::chrono::duration_cast<std::chrono::milliseconds>(elapsedDuration).count());
Clock::time_point m_start
Definition: StackTimer.h:44
StackTimer()
Constructs a stack timer.
Definition: StackTimer.h:33
Stack based timer.
Definition: StackTimer.h:27
std::chrono::steady_clock Clock
Definition: StackTimer.h:29
Definition: AddressExtractionExtension.cpp:28
uint64_t millis() const
Gets the number of elapsed milliseconds since this logger was created.
Definition: StackTimer.h:38