Changeset 11041
- Timestamp:
- 02/09/10 18:38:02 (6 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osg/Timer (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osg/Timer
r10594 r11041 103 103 } 104 104 105 /** elapsed time in seconds. */ 105 106 inline double elapsedTime() const 106 107 { 107 108 return _timer->delta_s(_startTick, _timer->tick()); 109 } 110 111 /** elapsed time in milliseconds. */ 112 inline double elapsedTime_m() const 113 { 114 return _timer->delta_m(_startTick, _timer->tick()); 115 } 116 117 /** elapsed time in microseconds. */ 118 inline double elapsedTime_u() const 119 { 120 return _timer->delta_u(_startTick, _timer->tick()); 121 } 122 123 /** elapsed time in nanoseconds. */ 124 inline double elapsedTime_n() const 125 { 126 return _timer->delta_n(_startTick, _timer->tick()); 108 127 } 109 128
