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

Method removeAllDestinations

src/utils/Profiler.cpp:179–187  ·  view source on GitHub ↗

Remove all logs destination previously set

Source from the content-addressed store, hash-verified

177
178// Remove all logs destination previously set
179void Profiler::removeAllDestinations() {
180
181 // Delete all the destinations
182 for (uint i=0; i<mNbDestinations; i++) {
183 delete mDestinations[i];
184 }
185
186 mNbDestinations = 0;
187}
188
189// Method called when we want to start profiling a block of code.
190void Profiler::startProfilingBlock(const char* name) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected