Jet  v1.3.3
Public Member Functions | List of all members
jet::Timer Class Reference

Simple timer class. More...

#include <jet/timer.h>

Public Member Functions

 Timer ()
 Constructs the timer and start ticking. More...
 
double durationInSeconds () const
 Returns the time duration since the creation or reset in seconds. More...
 
void reset ()
 Resets the timer. More...
 

Detailed Description

Simple timer class.

Constructor & Destructor Documentation

◆ Timer()

jet::Timer::Timer ( )

Constructs the timer and start ticking.

Member Function Documentation

◆ durationInSeconds()

double jet::Timer::durationInSeconds ( ) const

Returns the time duration since the creation or reset in seconds.

◆ reset()

void jet::Timer::reset ( )

Resets the timer.


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