Timer class is used for measuring elapsed time or time between two points.
More...
Timer class is used for measuring elapsed time or time between two points.
◆ Timer()
◆ ~Timer()
◆ delta_m()
Get the time in milliseconds between timer ticks t1 and t2.
◆ delta_n()
Get the time in nanoseconds between timer ticks t1 and t2.
◆ delta_s()
Get the time in seconds between timer ticks t1 and t2.
◆ delta_u()
Get the time in microseconds between timer ticks t1 and t2.
◆ getSecondsPerTick()
double osg::Timer::getSecondsPerTick |
( |
| ) |
const |
|
inline |
Get the number of seconds per tick.
◆ getStartTick()
Timer_t osg::Timer::getStartTick |
( |
| ) |
const |
|
inline |
◆ instance()
static Timer * osg::Timer::instance |
( |
| ) |
|
|
static |
◆ setStartTick() [1/2]
void osg::Timer::setStartTick |
( |
| ) |
|
|
inline |
◆ setStartTick() [2/2]
void osg::Timer::setStartTick |
( |
Timer_t |
t | ) |
|
|
inline |
◆ tick()
Get the timers tick value.
◆ time_m()
double osg::Timer::time_m |
( |
| ) |
const |
|
inline |
Get elapsed time in milliseconds.
◆ time_n()
double osg::Timer::time_n |
( |
| ) |
const |
|
inline |
Get elapsed time in nanoseconds.
◆ time_s()
double osg::Timer::time_s |
( |
| ) |
const |
|
inline |
Get elapsed time in seconds.
◆ time_u()
double osg::Timer::time_u |
( |
| ) |
const |
|
inline |
Get elapsed time in microseconds.
◆ _secsPerTick
double osg::Timer::_secsPerTick |
|
protected |
◆ _startTick
The documentation for this class was generated from the following file:
- /private/tmp/open-scene-graph-20220509-85176-l8exki/OpenSceneGraph-OpenSceneGraph-3.6.5/include/osg/Timer