Add a stream destination to the profiler
| 261 | |
| 262 | // Add a stream destination to the profiler |
| 263 | void Profiler::addStreamDestination(std::ostream& outputStream, Format format) { |
| 264 | |
| 265 | if (mNbAllocatedDestinations == mNbDestinations) { |
| 266 | allocatedDestinations(mNbAllocatedDestinations * 2); |
| 267 | } |
| 268 | |
| 269 | StreamDestination* destination = new StreamDestination(outputStream, format); |
| 270 | mDestinations[mNbDestinations] = destination; |
| 271 | |
| 272 | mNbDestinations++; |
| 273 | } |
| 274 | |
| 275 | // Recursively print the report of a given node of the profiler tree |
| 276 | void Profiler::printRecursiveNodeReport(ProfileNodeIterator* iterator, |
nothing calls this directly
no outgoing calls
no test coverage detected