CatapultServer  v0.5.0.1 (Elephant)
catapult::utils::StackTimer Class Reference

Stack based timer. More...

Public Member Functions

 StackTimer ()
 Constructs a stack timer. More...
 
uint64_t millis () const
 Gets the number of elapsed milliseconds since this logger was created. More...
 

Private Types

using Clock = std::chrono::steady_clock
 

Private Attributes

Clock::time_point m_start
 

Detailed Description

Stack based timer.

Member Typedef Documentation

◆ Clock

using catapult::utils::StackTimer::Clock = std::chrono::steady_clock
private

Constructor & Destructor Documentation

◆ StackTimer()

catapult::utils::StackTimer::StackTimer ( )
inline

Constructs a stack timer.

Member Function Documentation

◆ millis()

uint64_t catapult::utils::StackTimer::millis ( ) const
inline

Gets the number of elapsed milliseconds since this logger was created.

Here is the caller graph for this function:

Member Data Documentation

◆ m_start

Clock::time_point catapult::utils::StackTimer::m_start
private

The documentation for this class was generated from the following file: