GEOS
Public Member Functions | List of all members
geos::Timer Class Reference

Object that times the duration of its existence. More...

#include <Timer.hpp>

Public Member Functions

 Timer (std::chrono::system_clock::duration &duration)
 Constructor. The time the object is alive is added to duration. More...
 
 ~Timer ()
 Destructor. Adds to the referenced duration.
 

Detailed Description

Object that times the duration of its existence.

Definition at line 32 of file Timer.hpp.

Constructor & Destructor Documentation

◆ Timer()

geos::Timer::Timer ( std::chrono::system_clock::duration &  duration)
inline

Constructor. The time the object is alive is added to duration.

Parameters
durationA reference to the duration to add to.

Definition at line 40 of file Timer.hpp.


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