APFEL 4.8.0
A PDF evolution library in C++
Loading...
Searching...
No Matches
apfel::Timer Class Reference

The Timer class computes the time elapsed between start and stop. More...

#include <timer.h>

Public Member Functions

 Timer ()
 The Timer default constructor.
 
void start ()
 This function starts the timer.
 
void stop (bool const &ForceDisplay=false)
 This function stops the timer and reports the elapsed time in seconds since the last time the timer was started.
 

Private Attributes

std::chrono::time_point< std::chrono::steady_clock > _startTime
 

Detailed Description

Constructor & Destructor Documentation

◆ Timer()

apfel::Timer::Timer ( )
inline

The Timer default constructor.

Member Function Documentation

◆ start()

◆ stop()

void apfel::Timer::stop ( bool const & ForceDisplay = false)
inline

Member Data Documentation

◆ _startTime

std::chrono::time_point<std::chrono::steady_clock> apfel::Timer::_startTime
private

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