Timers.
More...
#include "Imagine/Common.h"
Small timer class
- Examples:
- Common/test/test.cpp.
Imagine::Timer::Timer |
( |
| ) |
|
|
inline |
Constructs and start a timer
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.
void Imagine::Timer::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /Users/pascal/ImagineQt2/Imagine/Common/src/Imagine/Common/Timer.h