#include <OgreTimer.h>
Inheritance diagram for Ogre::Timer:
Public Member Functions | |
Timer () | |
Creates a timer. | |
virtual | ~Timer () |
virtual void | reset () |
Resets timer. | |
virtual unsigned long | getMilliseconds () |
Returns milliseconds since initialisation or last reset. | |
virtual unsigned long | getMillisecondsCPU () |
Returns milliseconds since initialisation or last reset, only CPU time measured. | |
virtual unsigned long | getMicroseconds () |
Returns microseconds since initialisation or last reset. | |
virtual unsigned long | getMicrosecondsCPU () |
Returns microseconds since initialisation or last reset, only CPU time measured. | |
Protected Attributes | |
clock_t | zeroClock |
Definition at line 36 of file OgreTimer.h.
|
Creates a timer.
|
|
Definition at line 48 of file OgreTimer.h. |
|
Returns microseconds since initialisation or last reset.
Reimplemented in Ogre::GLXTimer, Ogre::SDLTimer, and Ogre::Win32Timer. |
|
Returns microseconds since initialisation or last reset, only CPU time measured.
|
|
Returns milliseconds since initialisation or last reset.
Reimplemented in Ogre::GLXTimer, Ogre::SDLTimer, and Ogre::Win32Timer. |
|
Returns milliseconds since initialisation or last reset, only CPU time measured.
|
|
Resets timer.
Reimplemented in Ogre::GLXTimer, Ogre::SDLTimer, and Ogre::Win32Timer. |
|
Definition at line 39 of file OgreTimer.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:45:50 2006