Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# osg::Timer Class Reference

Time stamper. More...

List of all members.

## Public Member Functions
| Timer ()
| ~Timer ()
Timer_t | tick () const
double | delta_s (Timer_t t1, Timer_t t2) const
double | delta_m (Timer_t t1, Timer_t t2) const
double | delta_u (Timer_t t1, Timer_t t2) const
double | delta_n (Timer_t t1, Timer_t t2) const
double | getSecondsPerTick () const
## Static Public Member Functions
const Timer * | instance ()
## Protected Attributes
double | _secsPerTick

## Detailed Description

Time stamper.

## Constructor & Destructor Documentation

osg::Timer::Timer | ( |  | ) |

osg::Timer::~Timer | ( |  | ) | `[inline]`

## Member Function Documentation

double osg::Timer::delta_m | ( | Timer_t | t1,
|  | Timer_t | t2
| ) | const`[inline]`

double osg::Timer::delta_n | ( | Timer_t | t1,
|  | Timer_t | t2
| ) | const`[inline]`

double osg::Timer::delta_s | ( | Timer_t | t1,
|  | Timer_t | t2
| ) | const`[inline]`

double osg::Timer::delta_u | ( | Timer_t | t1,
|  | Timer_t | t2
| ) | const`[inline]`

double osg::Timer::getSecondsPerTick | ( |  | ) | const`[inline]`

const Timer* osg::Timer::instance | ( |  | ) | `[static]`

Timer_t osg::Timer::tick | ( |  | ) | const

## Member Data Documentation

double osg::Timer::_secsPerTick`[protected]`

The documentation for this class was generated from the following file:

- Timer