Blender V2.61 - r43446
Public Member Functions | Protected Attributes

CProfileNode Class Reference

A node in the Profile Hierarchy Tree. More...

#include <btQuickprof.h>

List of all members.

Public Member Functions

 CProfileNode (const char *name, CProfileNode *parent)
 ~CProfileNode (void)
CProfileNodeGet_Sub_Node (const char *name)
CProfileNodeGet_Parent (void)
CProfileNodeGet_Sibling (void)
CProfileNodeGet_Child (void)
void CleanupMemory ()
void Reset (void)
void Call (void)
bool Return (void)
const char * Get_Name (void)
int Get_Total_Calls (void)
float Get_Total_Time (void)

Protected Attributes

const char * Name
int TotalCalls
float TotalTime
unsigned long int StartTime
int RecursionCounter
CProfileNodeParent
CProfileNodeChild
CProfileNodeSibling

Detailed Description

A node in the Profile Hierarchy Tree.

Definition at line 65 of file btQuickprof.h.


Constructor & Destructor Documentation

CProfileNode::CProfileNode ( const char *  name,
CProfileNode parent 
)

Definition at line 271 of file btQuickprof.cpp.

References Reset().

Referenced by Get_Sub_Node().

CProfileNode::~CProfileNode ( void  )

Definition at line 293 of file btQuickprof.cpp.

References Child, and Sibling.


Member Function Documentation

void CProfileNode::Call ( void  )
void CProfileNode::CleanupMemory ( )

Definition at line 285 of file btQuickprof.cpp.

References Child, NULL, and Sibling.

Referenced by CProfileManager::CleanupMemory().

CProfileNode* CProfileNode::Get_Child ( void  ) [inline]
const char* CProfileNode::Get_Name ( void  ) [inline]
CProfileNode* CProfileNode::Get_Parent ( void  ) [inline]
CProfileNode* CProfileNode::Get_Sibling ( void  ) [inline]

Definition at line 74 of file btQuickprof.h.

References Sibling.

Referenced by CProfileIterator::Enter_Child(), and CProfileIterator::Next().

CProfileNode * CProfileNode::Get_Sub_Node ( const char *  name)

Definition at line 308 of file btQuickprof.cpp.

References Child, CProfileNode(), Name, and Sibling.

Referenced by CProfileManager::Start_Profile().

int CProfileNode::Get_Total_Calls ( void  ) [inline]
float CProfileNode::Get_Total_Time ( void  ) [inline]
void CProfileNode::Reset ( void  )

Definition at line 328 of file btQuickprof.cpp.

References Child, Reset(), Sibling, TotalCalls, and TotalTime.

Referenced by CProfileNode(), Reset(), and CProfileManager::Reset().

bool CProfileNode::Return ( void  )

Member Data Documentation

Definition at line 95 of file btQuickprof.h.

Referenced by CleanupMemory(), Get_Child(), Get_Sub_Node(), Reset(), and ~CProfileNode().

const char* CProfileNode::Name [protected]

Definition at line 88 of file btQuickprof.h.

Referenced by Get_Name(), and Get_Sub_Node().

Definition at line 94 of file btQuickprof.h.

Referenced by Get_Parent().

Definition at line 92 of file btQuickprof.h.

Referenced by Call(), and Return().

Definition at line 96 of file btQuickprof.h.

Referenced by CleanupMemory(), Get_Sibling(), Get_Sub_Node(), Reset(), and ~CProfileNode().

unsigned long int CProfileNode::StartTime [protected]

Definition at line 91 of file btQuickprof.h.

Referenced by Call(), and Return().

int CProfileNode::TotalCalls [protected]

Definition at line 89 of file btQuickprof.h.

Referenced by Call(), Get_Total_Calls(), Reset(), and Return().

float CProfileNode::TotalTime [protected]

Definition at line 90 of file btQuickprof.h.

Referenced by Get_Total_Time(), Reset(), and Return().


The documentation for this class was generated from the following files: