Remove all logs destination previously set
| 177 | |
| 178 | // Remove all logs destination previously set |
| 179 | void 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. |
| 190 | void Profiler::startProfilingBlock(const char* name) { |
nothing calls this directly
no outgoing calls
no test coverage detected