SimpleTimer object. More...

Public Member Functions

 SimpleTimer ()
 Construct the timer.
 
int tac ()
 return microsecond elapsed from last tic() call
 
int tic ()
 return microsecond elapsed from last tic() call
 

Detailed Description

SimpleTimer object.

Motivation
It is a simple timer for performance checks
Description
SimpleTimer counts microseconds elapsed since the last tic() calls
Warnings

Definition at line 45 of file simpletimer.h.

Constructor & Destructor Documentation

SimpleTimer ( )
inline

Construct the timer.

Definition at line 48 of file simpletimer.h.

Member Function Documentation

int tac ( )
inline

return microsecond elapsed from last tic() call

Definition at line 59 of file simpletimer.h.

int tic ( )
inline

return microsecond elapsed from last tic() call

Definition at line 73 of file simpletimer.h.


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