#include <profile.h>
Inheritance diagram for ProfileManager:
Public Member Functions | |
ProfileManager () | |
virtual | ~ProfileManager () |
virtual void | BeginProfile (const HashString &rstrName) |
virtual void | EndProfile () |
virtual void | Dump () |
virtual void | DumpToString (std::string *pstrDst) |
virtual void | Clear () |
virtual void | ConsoleCmd (const HashString &rstrCmd, const HashString &rstrArgs) |
virtual bool | Render (Frustum *pkFrustum=0, bool bForce=false) |
virtual void | Reset () |
bool | IsActive () const |
virtual void | Activate () |
virtual void | Deactivate () |
bool | Toggle () |
bool | IsActive () const |
bool | Toggle () |
Public Attributes | |
HashString | m_strName |
ProfileData * | m_pkParent |
std::vector< ProfileData * > | m_vpkChildren |
uint64_t | m_ulActivated |
uint64_t | m_ulAccTime |
int | m_iCount |
int | m_iLevel |
unsigned int | m_uiLastFrame |
Static Public Attributes | |
unsigned int | s_uiFrameCount |
Protected Attributes | |
ProfileData * | m_pkActiveNode |
bool | m_bActive |
bool | m_bActive |
|
|
|
|
|
Begin a new profile level
|
|
End last profile level |
|
Dump data to log (INFO) Reimplemented from ProfileData. |
|
Dump data to string
Reimplemented from ProfileData. |
|
Clear all profile data |
|
Process console command
Implements ConsoleCmdCallback. |
|
Render profile data overlay
Reimplemented from RenderEntity. |
|
Reset values |
|
Query state of object
|
|
Activate object |
|
Deactivate object |
|
Toggle active state. This method does not need to be overloaded, it is only a wrapper to Activate and Deactivate
|
|
Query state of object
|
|
Toggle active state. This method does not need to be overloaded, it is only a wrapper to Activate and Deactivate
|
|
Current active profile node |
|
Node name |
|
Parent data node |
|
Child data nodes |
|
Activated heartbeat |
|
Accumulated heartbeat time |
|
Counter |
|
Recursion level |
|
Frame counter (at 500 frames per second, can be active ~100 days continously before loop, and then it will just skip one frame -> safe enough) |
|
Last frame count we were rendered |
|
Active flag |
|
Active flag |