Represents an individual profile call. More...
#include <OgreProfiler.h>
Public Types | |
typedef Ogre::map< String, ProfileInstance * >::type | ProfileChildren |
Public Member Functions | |
ProfileInstance (void) | |
virtual | ~ProfileInstance (void) |
void | logResults () |
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 *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
void | reset () |
bool | watchForLimit (Real limit, bool greaterThan=true) |
bool | watchForLimit (const String &profileName, Real limit, bool greaterThan=true) |
bool | watchForMax (void) |
bool | watchForMax (const String &profileName) |
bool | watchForMin (void) |
bool | watchForMin (const String &profileName) |
Public Attributes | |
ulong | accum |
Represents the total time of all child profiles to subtract from this profile. More... | |
ProfileChildren | children |
ulong | currTime |
The time this profile was started. More... | |
ProfileFrame | frame |
ulong | frameNumber |
uint | hierarchicalLvl |
The hierarchical level of this profile, 0 being the root profile. More... | |
ProfileHistory | history |
String | name |
The name of the profile. More... | |
ProfileInstance * | parent |
The name of the parent, null if root. More... | |
Friends | |
class | Profiler |
Represents an individual profile call.
Definition at line 174 of file OgreProfiler.h.
typedef Ogre::map<String,ProfileInstance*>::type Ogre::ProfileInstance::ProfileChildren |
Definition at line 181 of file OgreProfiler.h.
Ogre::ProfileInstance::ProfileInstance | ( | void | ) |
|
virtual |
void Ogre::ProfileInstance::logResults | ( | ) |
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
void Ogre::ProfileInstance::reset | ( | ) |
bool Ogre::ProfileInstance::watchForLimit | ( | Real | limit, |
bool | greaterThan = true |
||
) |
Definition at line 188 of file OgreProfiler.h.
References Ogre::ProfileHistory::currentTimePercent, and history.
bool Ogre::ProfileInstance::watchForLimit | ( | const String & | profileName, |
Real | limit, | ||
bool | greaterThan = true |
||
) |
bool Ogre::ProfileInstance::watchForMax | ( | void | ) |
Definition at line 186 of file OgreProfiler.h.
References Ogre::ProfileHistory::currentTimePercent, history, and Ogre::ProfileHistory::maxTimePercent.
bool Ogre::ProfileInstance::watchForMax | ( | const String & | profileName) |
bool Ogre::ProfileInstance::watchForMin | ( | void | ) |
Definition at line 187 of file OgreProfiler.h.
References Ogre::ProfileHistory::currentTimePercent, history, and Ogre::ProfileHistory::minTimePercent.
bool Ogre::ProfileInstance::watchForMin | ( | const String & | profileName) |
|
friend |
Definition at line 176 of file OgreProfiler.h.
ulong Ogre::ProfileInstance::accum |
Represents the total time of all child profiles to subtract from this profile.
Definition at line 218 of file OgreProfiler.h.
ProfileChildren Ogre::ProfileInstance::children |
Definition at line 206 of file OgreProfiler.h.
ulong Ogre::ProfileInstance::currTime |
The time this profile was started.
Definition at line 214 of file OgreProfiler.h.
ProfileFrame Ogre::ProfileInstance::frame |
Definition at line 208 of file OgreProfiler.h.
ulong Ogre::ProfileInstance::frameNumber |
Definition at line 209 of file OgreProfiler.h.
uint Ogre::ProfileInstance::hierarchicalLvl |
The hierarchical level of this profile, 0 being the root profile.
Definition at line 221 of file OgreProfiler.h.
ProfileHistory Ogre::ProfileInstance::history |
Definition at line 211 of file OgreProfiler.h.
Referenced by watchForLimit(), watchForMax(), and watchForMin().
String Ogre::ProfileInstance::name |
The name of the profile.
Definition at line 201 of file OgreProfiler.h.
ProfileInstance* Ogre::ProfileInstance::parent |
The name of the parent, null if root.
Definition at line 204 of file OgreProfiler.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Wed Oct 16 2013 14:36:08