Timers.
More...
#include "Imagine/Common.h"
Small timer class
- Examples:
- Common/test/test.cpp.
◆ Timer()
Imagine::Timer::Timer |
( |
| ) |
|
|
inline |
Constructs and start a timer
◆ lap()
double Imagine::Timer::lap |
( |
| ) |
const |
|
inline |
Seconds since construction of latest reset()
- Returns
- seconds
double x=t.lap();
x=t.lap();
t.reset();
x=t.lap();
- Examples:
- Common/test/test.cpp.
◆ reset()
void Imagine::Timer::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/pascal/Ponts/svn/ImagineQt/Imagine/Common/src/Imagine/Common/Timer.h