![]() |
OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Represents an individual profile call. More...
#include <OgreProfiler.h>
Inheritance diagram for Ogre::ProfileInstance:Public Types | |
| typedef std::map< String, ProfileInstance * > | ProfileChildren |
Public Member Functions | |
| ProfileInstance (void) | |
| virtual | ~ProfileInstance (void) |
| void | logResults () |
| void | reset () |
| bool | watchForLimit (const String &profileName, Real limit, bool greaterThan=true) |
| bool | watchForLimit (Real limit, bool greaterThan=true) |
| bool | watchForMax (const String &profileName) |
| bool | watchForMax (void) |
| bool | watchForMin (const String &profileName) |
| bool | watchForMin (void) |
Public Attributes | |
| ulong | accum |
| Represents the total time of all child profiles to subtract from this profile. | |
| ProfileChildren | children |
| ulong | currTime |
| The time this profile was started. | |
| ProfileFrame | frame |
| ulong | frameNumber |
| uint | hierarchicalLvl |
| The hierarchical level of this profile, 0 being the root profile. | |
| ProfileHistory | history |
| String | name |
| The name of the profile. | |
| ProfileInstance * | parent |
| The name of the parent, null if root. | |
Represents an individual profile call.
| typedef std::map<String,ProfileInstance*> Ogre::ProfileInstance::ProfileChildren |
| Ogre::ProfileInstance::ProfileInstance | ( | void | ) |
|
virtual |
| void Ogre::ProfileInstance::logResults | ( | ) |
| void Ogre::ProfileInstance::reset | ( | ) |
|
inline |
References history.
|
inline |
References history.
|
inline |
References history.
| bool Ogre::ProfileInstance::watchForMax | ( | const String & | profileName | ) |
| bool Ogre::ProfileInstance::watchForMin | ( | const String & | profileName | ) |
| bool Ogre::ProfileInstance::watchForLimit | ( | const String & | profileName, |
| Real | limit, | ||
| bool | greaterThan = true ) |
| String Ogre::ProfileInstance::name |
The name of the profile.
| ProfileInstance* Ogre::ProfileInstance::parent |
The name of the parent, null if root.
| ProfileChildren Ogre::ProfileInstance::children |
| ProfileFrame Ogre::ProfileInstance::frame |
| ulong Ogre::ProfileInstance::frameNumber |
| ProfileHistory Ogre::ProfileInstance::history |
Referenced by watchForLimit(), watchForMax(), and watchForMin().
| ulong Ogre::ProfileInstance::currTime |
The time this profile was started.
| ulong Ogre::ProfileInstance::accum |
Represents the total time of all child profiles to subtract from this profile.
| uint Ogre::ProfileInstance::hierarchicalLvl |
The hierarchical level of this profile, 0 being the root profile.