OGRE 2.1
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 Attributes | |
ulong | accum |
Represents the total time of all child profiles to subtract from this profile. | |
ProfileChildrenVec | children |
ProfileChildrenMap | childrenMap |
uint64 | 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. | |
Friends | |
class | Profiler |
Represents an individual profile call.
Ogre::ProfileInstance::ProfileInstance | ( | void | ) |
void Ogre::ProfileInstance::destroyAllChildren | ( | ) |
void Ogre::ProfileInstance::logResults | ( | ) |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
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 |
||
) |
References Ogre::ProfileHistory::currentTimePercent, and history.
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.