#include <OgreTimerImp.h>

Public Member Functions | |
| Timer () | |
| ~Timer () | |
| bool | setOption (const String &strKey, const void *pValue) |
| Method for setting a specific option of the Timer. | |
| void | reset () |
| Resets timer. | |
| unsigned long | getMilliseconds () |
| Returns milliseconds since initialisation or last reset. | |
| unsigned long | getMicroseconds () |
| Returns microseconds since initialisation or last reset. | |
| unsigned long | getMillisecondsCPU () |
| Returns milliseconds since initialisation or last reset, only CPU time measured. | |
| unsigned long | getMicrosecondsCPU () |
| Returns microseconds since initialisation or last reset, only CPU time measured. | |
| Timer () | |
| ~Timer () | |
| bool | setOption (const String &strKey, const void *pValue) |
| Method for setting a specific option of the Timer. | |
| void | reset () |
| Resets timer. | |
| unsigned long | getMilliseconds () |
| Returns milliseconds since initialisation or last reset. | |
| unsigned long | getMicroseconds () |
| Returns microseconds since initialisation or last reset. | |
| unsigned long | getMillisecondsCPU () |
| Returns milliseconds since initialisation or last reset, only CPU time measured. | |
| unsigned long | getMicrosecondsCPU () |
| Returns microseconds since initialisation or last reset, only CPU time measured. | |
| Timer () | |
| ~Timer () | |
| bool | setOption (const String &strKey, const void *pValue) |
| Method for setting a specific option of the Timer. | |
| void | reset () |
| Resets timer. | |
| unsigned long | getMilliseconds () |
| Returns milliseconds since initialisation or last reset. | |
| unsigned long | getMicroseconds () |
| Returns microseconds since initialisation or last reset. | |
| unsigned long | getMillisecondsCPU () |
| Returns milliseconds since initialisation or last reset, only CPU time measured. | |
| unsigned long | getMicrosecondsCPU () |
| Returns microseconds since initialisation or last reset, only CPU time measured. | |
| Timer () | |
| ~Timer () | |
| bool | setOption (const String &strKey, const void *pValue) |
| Method for setting a specific option of the Timer. | |
| void | reset () |
| Resets timer. | |
| unsigned long | getMilliseconds () |
| Returns milliseconds since initialisation or last reset. | |
| unsigned long | getMicroseconds () |
| Returns microseconds since initialisation or last reset. | |
| unsigned long | getMillisecondsCPU () |
| Returns milliseconds since initialisation or last reset, only CPU time measured. | |
| unsigned long | getMicrosecondsCPU () |
| Returns microseconds since initialisation or last reset, only CPU time measured. | |
| Timer () | |
| ~Timer () | |
| bool | setOption (const String &strKey, const void *pValue) |
| Method for setting a specific option of the Timer. | |
| void | reset () |
| Resets timer. | |
| unsigned long | getMilliseconds () |
| Returns milliseconds since initialisation or last reset. | |
| unsigned long | getMicroseconds () |
| Returns microseconds since initialisation or last reset. | |
| unsigned long | getMillisecondsCPU () |
| Returns milliseconds since initialisation or last reset, only CPU time measured. | |
| unsigned long | getMicrosecondsCPU () |
| Returns microseconds since initialisation or last reset, only CPU time measured. | |
| Timer () | |
| Timer constructor. | |
| ~Timer () | |
| bool | setOption (const String &strKey, const void *pValue) |
| Method for setting a specific option of the Timer. | |
| void | reset () |
| Resets timer. | |
| unsigned long | getMilliseconds () |
| Returns milliseconds since initialisation or last reset. | |
| unsigned long | getMicroseconds () |
| Returns microseconds since initialisation or last reset. | |
| unsigned long | getMillisecondsCPU () |
| Returns milliseconds since initialisation or last reset, only CPU time measured. | |
| unsigned long | getMicrosecondsCPU () |
| Returns microseconds since initialisation or last reset, only CPU time measured. | |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info | |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| void * | operator new[] (size_t sz) |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, void *) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
Private Attributes | |
| struct timeval | start |
| clock_t | zeroClock |
| clock_t | mZeroClock |
| DWORD | mStartTick |
| LONGLONG | mLastTime |
| LARGE_INTEGER | mStartTime |
| LARGE_INTEGER | mFrequency |
| DWORD_PTR | mTimerMask |
Timer class.
Definition at line 37 of file Android/OgreTimerImp.h.
Timer constructor.
MUST be called on same thread that calls getMilliseconds()
| unsigned long Ogre::Timer::getMicroseconds | ( | ) |
Returns microseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMicroseconds | ( | ) |
Returns microseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMicroseconds | ( | ) |
Returns microseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMicroseconds | ( | ) |
Returns microseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMicroseconds | ( | ) |
Returns microseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMicroseconds | ( | ) |
Returns microseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMicrosecondsCPU | ( | ) |
Returns microseconds since initialisation or last reset, only CPU time measured.
| unsigned long Ogre::Timer::getMicrosecondsCPU | ( | ) |
Returns microseconds since initialisation or last reset, only CPU time measured.
| unsigned long Ogre::Timer::getMicrosecondsCPU | ( | ) |
Returns microseconds since initialisation or last reset, only CPU time measured.
| unsigned long Ogre::Timer::getMicrosecondsCPU | ( | ) |
Returns microseconds since initialisation or last reset, only CPU time measured.
| unsigned long Ogre::Timer::getMicrosecondsCPU | ( | ) |
Returns microseconds since initialisation or last reset, only CPU time measured.
| unsigned long Ogre::Timer::getMicrosecondsCPU | ( | ) |
Returns microseconds since initialisation or last reset, only CPU time measured.
| unsigned long Ogre::Timer::getMilliseconds | ( | ) |
Returns milliseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMilliseconds | ( | ) |
Returns milliseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMilliseconds | ( | ) |
Returns milliseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMilliseconds | ( | ) |
Returns milliseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMilliseconds | ( | ) |
Returns milliseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMilliseconds | ( | ) |
Returns milliseconds since initialisation or last reset.
| unsigned long Ogre::Timer::getMillisecondsCPU | ( | ) |
Returns milliseconds since initialisation or last reset, only CPU time measured.
| unsigned long Ogre::Timer::getMillisecondsCPU | ( | ) |
Returns milliseconds since initialisation or last reset, only CPU time measured.
| unsigned long Ogre::Timer::getMillisecondsCPU | ( | ) |
Returns milliseconds since initialisation or last reset, only CPU time measured.
| unsigned long Ogre::Timer::getMillisecondsCPU | ( | ) |
Returns milliseconds since initialisation or last reset, only CPU time measured.
| unsigned long Ogre::Timer::getMillisecondsCPU | ( | ) |
Returns milliseconds since initialisation or last reset, only CPU time measured.
| unsigned long Ogre::Timer::getMillisecondsCPU | ( | ) |
Returns milliseconds since initialisation or last reset, only CPU time measured.
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, |
| void * | |||
| ) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, |
| const char * | , | ||
| int | , | ||
| const char * | |||
| ) | [inherited] |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, |
| const char * | , | ||
| int | , | ||
| const char * | |||
| ) | [inherited] |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, |
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) | [inherited] |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, |
| void * | ptr | ||
| ) | [inherited] |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, |
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) | [inherited] |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
| void Ogre::Timer::reset | ( | ) |
Resets timer.
| void Ogre::Timer::reset | ( | ) |
Resets timer.
| void Ogre::Timer::reset | ( | ) |
Resets timer.
| void Ogre::Timer::reset | ( | ) |
Resets timer.
| void Ogre::Timer::reset | ( | ) |
Resets timer.
| void Ogre::Timer::reset | ( | ) |
Resets timer.
| bool Ogre::Timer::setOption | ( | const String & | strKey, |
| const void * | pValue | ||
| ) |
Method for setting a specific option of the Timer.
These options are usually specific for a certain implementation of the Timer class, and may (and probably will) not exist across different implementations. reset() must be called after all setOption() calls.
| strKey | The name of the option to set |
| pValue | A pointer to the value - the size should be calculated by the timer based on the key |
Definition at line 60 of file Android/OgreTimerImp.h.
| bool Ogre::Timer::setOption | ( | const String & | strKey, |
| const void * | pValue | ||
| ) |
Method for setting a specific option of the Timer.
These options are usually specific for a certain implementation of the Timer class, and may (and probably will) not exist across different implementations. reset() must be called after all setOption() calls.
| strKey | The name of the option to set |
| pValue | A pointer to the value - the size should be calculated by the timer based on the key |
Definition at line 60 of file iOS/OgreTimerImp.h.
| bool Ogre::Timer::setOption | ( | const String & | strKey, |
| const void * | pValue | ||
| ) |
Method for setting a specific option of the Timer.
These options are usually specific for a certain implementation of the Timer class, and may (and probably will) not exist across different implementations. reset() must be called after all setOption() calls.
| strKey | The name of the option to set |
| pValue | A pointer to the value - the size should be calculated by the timer based on the key |
Definition at line 60 of file OSX/OgreTimerImp.h.
| bool Ogre::Timer::setOption | ( | const String & | strKey, |
| const void * | pValue | ||
| ) |
Method for setting a specific option of the Timer.
These options are usually specific for a certain implementation of the Timer class, and may (and probably will) not exist across different implementations. reset() must be called after all setOption() calls.
| strKey | The name of the option to set |
| pValue | A pointer to the value - the size should be calculated by the timer based on the key |
Definition at line 60 of file GLX/OgreTimerImp.h.
| bool Ogre::Timer::setOption | ( | const String & | strKey, |
| const void * | pValue | ||
| ) |
Method for setting a specific option of the Timer.
These options are usually specific for a certain implementation of the Timer class, and may (and probably will) not exist across different implementations. reset() must be called after all setOption() calls.
| strKey | The name of the option to set |
| pValue | A pointer to the value - the size should be calculated by the timer based on the key |
Definition at line 64 of file NaCl/OgreTimerImp.h.
| bool Ogre::Timer::setOption | ( | const String & | strKey, |
| const void * | pValue | ||
| ) |
Method for setting a specific option of the Timer.
These options are usually specific for a certain implementation of the Timer class, and may (and probably will) not exist across different implementations. reset() must be called after all setOption() calls.
| strKey | The name of the option to set |
| pValue | A pointer to the value - the size should be calculated by the timer based on the key |
LARGE_INTEGER Ogre::Timer::mFrequency [private] |
Definition at line 56 of file WIN32/OgreTimerImp.h.
LONGLONG Ogre::Timer::mLastTime [private] |
Definition at line 54 of file WIN32/OgreTimerImp.h.
DWORD Ogre::Timer::mStartTick [private] |
Definition at line 53 of file WIN32/OgreTimerImp.h.
LARGE_INTEGER Ogre::Timer::mStartTime [private] |
Definition at line 55 of file WIN32/OgreTimerImp.h.
DWORD_PTR Ogre::Timer::mTimerMask [private] |
Definition at line 58 of file WIN32/OgreTimerImp.h.
clock_t Ogre::Timer::mZeroClock [private] |
Definition at line 51 of file WIN32/OgreTimerImp.h.
struct timeval Ogre::Timer::start [private] |
Definition at line 40 of file Android/OgreTimerImp.h.
clock_t Ogre::Timer::zeroClock [private] |
Definition at line 41 of file Android/OgreTimerImp.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sun Sep 2 2012 07:27:25