OpenSceneGraph
3.5.1
|
Helper class for timing sections of code. More...
Public Member Functions | |
ElapsedTime (double *elapsedTime, osg::Timer *timer=0) | |
ElapsedTime (osg::Timer *timer=0) | |
~ElapsedTime () | |
void | reset () |
double | elapsedTime () const |
elapsed time in seconds. More... | |
double | elapsedTime_m () const |
elapsed time in milliseconds. More... | |
double | elapsedTime_u () const |
elapsed time in microseconds. More... | |
double | elapsedTime_n () const |
elapsed time in nanoseconds. More... | |
void | finish () |
Protected Member Functions | |
void | init (osg::Timer *timer) |
Protected Attributes | |
double * | _time |
Timer * | _timer |
Timer_t | _startTick |
Helper class for timing sections of code.
|
inline |
|
inline |
|
inline |
|
inline |
elapsed time in seconds.
|
inline |
elapsed time in milliseconds.
|
inline |
elapsed time in nanoseconds.
|
inline |
elapsed time in microseconds.
|
inline |
|
inlineprotected |
|
inline |
|
protected |
|
protected |
|
protected |
Generated at Wed Nov 11 2015 22:14:33 for the OpenSceneGraph by doxygen 1.8.10. |