* Print all existing trace records to either a user-specified file or to * stdout. */
| 66 | * stdout. |
| 67 | */ |
| 68 | void |
| 69 | TimeTrace::print() |
| 70 | { |
| 71 | std::vector<TimeTrace::Buffer*> buffers; |
| 72 | { |
| 73 | std::lock_guard<std::mutex> guard(mutex); |
| 74 | buffers = threadBuffers; |
| 75 | } |
| 76 | |
| 77 | printInternal(&buffers, NULL); |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Construct a TimeTrace::Buffer. |
nothing calls this directly
no outgoing calls
no test coverage detected