Go to the documentation of this file.
29 #ifndef __OSXTimer_H__
30 #define __OSXTimer_H__
32 #include "../OgrePrerequisites.h"
unsigned long getMicroseconds()
Returns microseconds since initialisation or last reset.
GeneralAllocatedObject TimerAlloc
unsigned long getMillisecondsCPU()
Returns milliseconds since initialisation or last reset, only CPU time measured.
void reset()
Resets timer.
unsigned long getMicrosecondsCPU()
Returns microseconds since initialisation or last reset, only CPU time measured.
bool setOption(const String &strKey, const void *pValue)
Method for setting a specific option of the Timer.
unsigned long getMilliseconds()
Returns milliseconds since initialisation or last reset.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.