Pyrogenesis
13997
|
#include <Profile.h>
Public Types | |
typedef std::vector < CProfileNode * >::iterator | profile_iterator |
typedef std::vector < CProfileNode * > ::const_iterator | const_profile_iterator |
Public Member Functions | |
CProfileNode (const char *name, CProfileNode *parent) | |
~CProfileNode () | |
const char * | GetName () const |
double | GetFrameCalls () const |
double | GetFrameTime () const |
double | GetTurnCalls () const |
double | GetTurnTime () const |
double | GetFrameMallocs () const |
double | GetTurnMallocs () const |
const CProfileNode * | GetChild (const char *name) const |
const CProfileNode * | GetScriptChild (const char *name) const |
const std::vector < CProfileNode * > * | GetChildren () const |
const std::vector < CProfileNode * > * | GetScriptChildren () const |
bool | CanExpand () |
CProfileNode * | GetChild (const char *name) |
CProfileNode * | GetScriptChild (const char *name) |
CProfileNode * | GetParent () const |
void | Reset () |
void | Frame () |
void | Turn () |
void | Call () |
bool | Return () |
Private Member Functions | |
NONCOPYABLE (CProfileNode) | |
Private Attributes | |
const char * | name |
int | calls_frame_current |
int | calls_turn_current |
RingBuf< int, PROFILE_AMORTIZE_FRAMES > | calls_per_frame |
RingBuf< int, PROFILE_AMORTIZE_TURNS > | calls_per_turn |
double | time_frame_current |
double | time_turn_current |
RingBuf< double, PROFILE_AMORTIZE_FRAMES > | time_per_frame |
RingBuf< double, PROFILE_AMORTIZE_TURNS > | time_per_turn |
long | mallocs_frame_current |
long | mallocs_turn_current |
RingBuf< long, PROFILE_AMORTIZE_FRAMES > | mallocs_per_frame |
RingBuf< long, PROFILE_AMORTIZE_TURNS > | mallocs_per_turn |
double | start |
long | start_mallocs |
int | recursion |
CProfileNode * | parent |
std::vector< CProfileNode * > | children |
std::vector< CProfileNode * > | script_children |
CProfileNodeTable * | display_table |
Friends | |
class | CProfileManager |
class | CProfileNodeTable |
typedef std::vector<CProfileNode*>::const_iterator CProfileNode::const_profile_iterator |
typedef std::vector<CProfileNode*>::iterator CProfileNode::profile_iterator |
CProfileNode::CProfileNode | ( | const char * | name, |
CProfileNode * | parent | ||
) |
Definition at line 262 of file Profile.cpp.
CProfileNode::~CProfileNode | ( | ) |
Definition at line 274 of file Profile.cpp.
void CProfileNode::Call | ( | ) |
Definition at line 621 of file Profile.cpp.
bool CProfileNode::CanExpand | ( | ) |
Definition at line 367 of file Profile.cpp.
void CProfileNode::Frame | ( | ) |
Definition at line 396 of file Profile.cpp.
const CProfileNode * CProfileNode::GetChild | ( | const char * | name | ) | const |
Definition at line 323 of file Profile.cpp.
CProfileNode * CProfileNode::GetChild | ( | const char * | name | ) |
Definition at line 343 of file Profile.cpp.
|
inline |
double CProfileNode::GetFrameCalls | ( | ) | const |
Definition at line 293 of file Profile.cpp.
double CProfileNode::GetFrameMallocs | ( | ) | const |
Definition at line 313 of file Profile.cpp.
double CProfileNode::GetFrameTime | ( | ) | const |
Definition at line 298 of file Profile.cpp.
|
inline |
const CProfileNode * CProfileNode::GetScriptChild | ( | const char * | name | ) | const |
Definition at line 333 of file Profile.cpp.
CProfileNode * CProfileNode::GetScriptChild | ( | const char * | name | ) |
Definition at line 355 of file Profile.cpp.
|
inline |
double CProfileNode::GetTurnCalls | ( | ) | const |
Definition at line 303 of file Profile.cpp.
double CProfileNode::GetTurnMallocs | ( | ) | const |
Definition at line 318 of file Profile.cpp.
double CProfileNode::GetTurnTime | ( | ) | const |
Definition at line 308 of file Profile.cpp.
|
private |
void CProfileNode::Reset | ( | ) |
Definition at line 372 of file Profile.cpp.
bool CProfileNode::Return | ( | ) |
Definition at line 632 of file Profile.cpp.
void CProfileNode::Turn | ( | ) |
Definition at line 413 of file Profile.cpp.
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |