#include <Timer.h>
vrecko::Timer::~Timer |
( |
| ) |
|
double vrecko::Timer::delta_m |
( |
osg::Timer_t |
t1, |
|
|
osg::Timer_t |
t2 |
|
) |
| const |
|
inline |
Get the time in milliseconds between timer ticks t1 and t2.
double vrecko::Timer::delta_n |
( |
osg::Timer_t |
t1, |
|
|
osg::Timer_t |
t2 |
|
) |
| const |
|
inline |
Get the time in nanoseconds between timer ticks t1 and t2.
double vrecko::Timer::delta_s |
( |
osg::Timer_t |
t1, |
|
|
osg::Timer_t |
t2 |
|
) |
| const |
|
inline |
Get the time in seconds between timer ticks t1 and t2.
double vrecko::Timer::delta_u |
( |
osg::Timer_t |
t1, |
|
|
osg::Timer_t |
t2 |
|
) |
| const |
|
inline |
Get the time in microseconds between timer ticks t1 and t2.
double vrecko::Timer::getSecondsPerTick |
( |
| ) |
const |
|
inline |
Get the the number of ticks per second.
osg::Timer_t vrecko::Timer::getStartTick |
( |
| ) |
const |
|
inline |
Timer * vrecko::Timer::instance |
( |
| ) |
|
|
static |
void vrecko::Timer::setStartTick |
( |
| ) |
|
|
inline |
void vrecko::Timer::setStartTick |
( |
osg::Timer_t |
t | ) |
|
|
inline |
osg::Timer_t vrecko::Timer::tick |
( |
| ) |
const |
Get the timers tick value.
double vrecko::Timer::time_m |
( |
| ) |
const |
|
inline |
Get elapsed time in milliseconds.
double vrecko::Timer::time_n |
( |
| ) |
const |
|
inline |
Get elapsed time in nanoseconds.
double vrecko::Timer::time_s |
( |
| ) |
const |
|
inline |
Get elapsed time in seconds.
double vrecko::Timer::time_u |
( |
| ) |
const |
|
inline |
Get elapsed time in microseconds.
double vrecko::Timer::_secsPerTick |
|
protected |
osg::Timer_t vrecko::Timer::_startTick |
|
protected |
The documentation for this class was generated from the following files:
- C:/Documents/School/OSG/VRECKO/include/vrecko/Timer.h
- C:/Documents/School/OSG/VRECKO/src/vrecko/Timer.cpp