ADTF  3.18.2
cHighResTimeSpan

Class that measures timespans. More...

Public Member Functions

 cHighResTimeSpan ()
 Default constructor.
 
 ~cHighResTimeSpan ()
 Destructor.
 
tVoid Reset ()
 Resets the start timestamp. More...
 
tTimeStamp GetElapsed ()
 Returns the timespan since the last call of GetElapsed or Reset. More...
 

Detailed Description

Class that measures timespans.

Definition at line 112 of file highrestimer.h.

Member Function Documentation

◆ GetElapsed()

tTimeStamp GetElapsed ( )

Returns the timespan since the last call of GetElapsed or Reset.

Returns
The timespan.
This method is real-time safe.\nSee @ref page_real_time_safe.\n

◆ Reset()

tVoid Reset ( )

Resets the start timestamp.

Returns
void
This method is real-time safe.\nSee @ref page_real_time_safe.\n