OGRE-Next
2.3
Object-Oriented Graphics Rendering Engine
|
Represents an individual profile call. More...
#include <OgreProfiler.h>
Public Types | |
typedef Ogre::map< String, ProfileInstance * >::type | ProfileChildrenMap |
typedef Ogre::vector< ProfileInstance * >::type | ProfileChildrenVec |
Public Member Functions | |
ProfileInstance () | |
virtual | ~ProfileInstance () |
void | destroyAllChildren () |
void | logResults () |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
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 *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void | reset () |
bool | watchForLimit (const String &profileName, Real limit, bool greaterThan=true) |
bool | watchForLimit (Real limit, bool greaterThan=true) |
bool | watchForMax () |
bool | watchForMax (const String &profileName) |
bool | watchForMin () |
bool | watchForMin (const String &profileName) |
Public Attributes | |
ulong | accum |
Represents the total time of all child profiles to subtract from this profile. More... | |
ProfileChildrenVec | children |
ProfileChildrenMap | childrenMap |
uint64 | 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.
typedef Ogre::map<String,ProfileInstance*>::type Ogre::ProfileInstance::ProfileChildrenMap |
typedef Ogre::vector<ProfileInstance*>::type Ogre::ProfileInstance::ProfileChildrenVec |
Ogre::ProfileInstance::ProfileInstance | ( | ) |
|
virtual |
void Ogre::ProfileInstance::destroyAllChildren | ( | ) |
void Ogre::ProfileInstance::logResults | ( | ) |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
void Ogre::ProfileInstance::reset | ( | ) |
bool Ogre::ProfileInstance::watchForLimit | ( | const String & | profileName, |
Real | limit, | ||
bool | greaterThan = true |
||
) |
|
inline |
References Ogre::ProfileHistory::currentTimePercent, and history.
|
inline |
bool Ogre::ProfileInstance::watchForMax | ( | const String & | profileName | ) |
|
inline |
bool Ogre::ProfileInstance::watchForMin | ( | const String & | profileName | ) |
|
friend |
ulong Ogre::ProfileInstance::accum |
Represents the total time of all child profiles to subtract from this profile.
ProfileChildrenVec Ogre::ProfileInstance::children |
ProfileChildrenMap Ogre::ProfileInstance::childrenMap |
uint64 Ogre::ProfileInstance::currTime |
The time this profile was started.
ProfileFrame Ogre::ProfileInstance::frame |
ulong Ogre::ProfileInstance::frameNumber |
uint Ogre::ProfileInstance::hierarchicalLvl |
The hierarchical level of this profile, 0 being the root profile.
ProfileHistory Ogre::ProfileInstance::history |
Referenced by watchForLimit(), watchForMax(), and watchForMin().
String Ogre::ProfileInstance::name |
The name of the profile.
ProfileInstance* Ogre::ProfileInstance::parent |
The name of the parent, null if root.