Agora  1.2.0
Agora project
spdlog::stopwatch Class Reference

#include <stopwatch.h>

Public Member Functions

 stopwatch ()
 
std::chrono::duration< double > elapsed () const
 
void reset ()
 

Private Types

using clock = std::chrono::steady_clock
 

Private Attributes

std::chrono::time_point< clockstart_tp_
 

Member Typedef Documentation

◆ clock

using spdlog::stopwatch::clock = std::chrono::steady_clock
private

Constructor & Destructor Documentation

◆ stopwatch()

spdlog::stopwatch::stopwatch ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ elapsed()

std::chrono::duration<double> spdlog::stopwatch::elapsed ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset()

void spdlog::stopwatch::reset ( )
inline
Here is the call graph for this function:

Member Data Documentation

◆ start_tp_

std::chrono::time_point<clock> spdlog::stopwatch::start_tp_
private

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