MCPcopy Create free account
hub / github.com/PlatformLab/NanoLog / print

Method print

runtime/TimeTrace.cc:68–78  ·  view source on GitHub ↗

* Print all existing trace records to either a user-specified file or to * stdout. */

Source from the content-addressed store, hash-verified

66 * stdout.
67 */
68void
69TimeTrace::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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected