MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / CProfileNode

Method CProfileNode

src/LinearMath/btQuickprof.cpp:303–314  ·  view source on GitHub ↗

* INPUT: * * name - pointer to a static string which is the name of this profile node * * parent - parent pointer * * * * WARNINGS:

Source from the content-addressed store, hash-verified

301 * efficiency reasons. *
302 *=============================================================================================*/
303CProfileNode::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
316void CProfileNode::CleanupMemory()
317{

Callers

nothing calls this directly

Calls 1

ResetFunction · 0.50

Tested by

no test coverage detected