To handle elapsed time counting. More...
|Default constructor. |
|bool||Started () const|
|Say if time counter has started. More...|
|Start (or resume) time counting. More...|
|Stop time counting. More...|
|Clear time value (Set to zero) |
|real_t||get () const|
|Return elapsed time (in seconds) |
|real_t||getTime () const|
|Return elapsed time (in seconds) More...|
To handle elapsed time counting.
This class is to be used when testing program performances. A normal usage of the class is, once an instance is constructed, to use alternatively, Start, Stop and Resume. Elapsed time can be obtained once the member function Stop is called.
Member Function Documentation
Say if time counter has started.
Return true if time has started, false if not
Start (or resume) time counting.
This member function is to be used to start or resume time counting
Stop time counting.
This function interrupts time counting. This one can be resumed by the function Start
Return elapsed time (in seconds)
Identical to get