sisi4s
Loading...
Searching...
No Matches
sisi4s::Timer Class Reference

#include <Timer.hpp>

Collaboration diagram for sisi4s::Timer:

Public Member Functions

 Timer (Time *time)
 Constructor of a Timer object starting the measurement. \parameter seconds specifies where the measured time shall be written to upon destruction of the object marking the end of the measurement.
 
 ~Timer ()
 

Protected Attributes

Timetime
 
Time start
 

Detailed Description

Timer class providing timing functionality. The object can be created in a scope whose lifetime is then measured.

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( Time time)

Constructor of a Timer object starting the measurement. \parameter seconds specifies where the measured time shall be written to upon destruction of the object marking the end of the measurement.

◆ ~Timer()

Timer::~Timer ( )

Destroys the timer object concluding the time measurement and adding the elapsed time to the double specified upon construction of the timer object.

Here is the call graph for this function:

Member Data Documentation

◆ start

Time sisi4s::Timer::start
protected

◆ time

Time* sisi4s::Timer::time
protected

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