#include <OgreSDLTimer.h>
Inheritance diagram for Ogre::SDLTimer:
Public Member Functions | |
virtual void | reset () |
Resets timer. | |
virtual unsigned long | getMilliseconds () |
Returns milliseconds since initialisation or last reset. | |
virtual unsigned long | getMicroseconds () |
Returns microseconds since initialisation or last reset. | |
virtual unsigned long | getMillisecondsCPU () |
Returns milliseconds since initialisation or last reset, only CPU time measured. | |
virtual unsigned long | getMicrosecondsCPU () |
Returns microseconds since initialisation or last reset, only CPU time measured. | |
Protected Attributes | |
clock_t | zeroClock |
Private Attributes | |
timeval | start |
|
Returns microseconds since initialisation or last reset.
Reimplemented from Ogre::Timer. |
|
Returns microseconds since initialisation or last reset, only CPU time measured.
|
|
Returns milliseconds since initialisation or last reset.
Reimplemented from Ogre::Timer. |
|
Returns milliseconds since initialisation or last reset, only CPU time measured.
|
|
Resets timer.
Reimplemented from Ogre::Timer. |
|
Definition at line 47 of file OgreSDLTimer.h. |
|
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:46:24 2006