osg::Timer Class Reference
Timer class is used for measuring elapsed time or time between two points.
More...
List of all members.
Detailed Description
Timer class is used for measuring elapsed time or time between two points.
Constructor & Destructor Documentation
osg::Timer::~Timer |
( |
|
) |
[inline] |
Member Function Documentation
Get the time in milliseconds between timer ticks t1 and t2.
Get the time in nanoseconds between timer ticks t1 and t2.
Get the time in seconds between timer ticks t1 and t2.
Get the time in microseconds between timer ticks t1 and t2.
double osg::Timer::getSecondsPerTick |
( |
|
) |
const [inline] |
Get the the number of seconds per tick.
Timer_t osg::Timer::getStartTick |
( |
|
) |
const [inline] |
static Timer* osg::Timer::instance |
( |
|
) |
[static] |
void osg::Timer::setStartTick |
( |
Timer_t |
t |
) |
[inline] |
void osg::Timer::setStartTick |
( |
|
) |
[inline] |
Get the timers tick value.
double osg::Timer::time_m |
( |
|
) |
const [inline] |
Get elapsed time in milliseconds.
double osg::Timer::time_n |
( |
|
) |
const [inline] |
Get elapsed time in nanoseconds.
double osg::Timer::time_s |
( |
|
) |
const [inline] |
Get elapsed time in seconds.
double osg::Timer::time_u |
( |
|
) |
const [inline] |
Get elapsed time in micoseconds.
Member Data Documentation
The documentation for this class was generated from the following file: