MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / Profiler

Method Profiler

src/utils/Profiler.cpp:159–168  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

157
158// Constructor
159Profiler::Profiler() :mRootNode("Root", nullptr) {
160
161 mCurrentNode = &mRootNode;
162 mNbDestinations = 0;
163 mNbAllocatedDestinations = 0;
164 mProfilingStartTime = clock::now();
165 mFrameCounter = 0;
166
167 allocatedDestinations(1);
168}
169
170// Destructor
171Profiler::~Profiler() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected