* INPUT: * * name - pointer to a static string which is the name of this profile node * * parent - parent pointer * * * * WARNINGS:
| 301 | * efficiency reasons. * |
| 302 | *=============================================================================================*/ |
| 303 | CProfileNode::CProfileNode(const char* name, CProfileNode* parent) : Name(name), |
| 304 | TotalCalls(0), |
| 305 | TotalTime(0), |
| 306 | StartTime(0), |
| 307 | RecursionCounter(0), |
| 308 | Parent(parent), |
| 309 | Child(NULL), |
| 310 | Sibling(NULL), |
| 311 | m_userPtr(0) |
| 312 | { |
| 313 | Reset(); |
| 314 | } |
| 315 | |
| 316 | void CProfileNode::CleanupMemory() |
| 317 | { |