Helper structure to print the tracing statistics. More...
#include <tracer.hpp>
Public Member Functions | |
tprint (const ttracer *const tracer__) | |
~tprint () | |
Public Attributes | |
const ttracer *const | tracer |
The tracer, whose statistics to print. More... | |
Helper structure to print the tracing statistics.
When the constructor gets a valid ttracer pointer it prints the tracing statistics in its destructor. This allows the structure to be initialised at the beginning of a scope and print the statistics once the scope is left. (This makes it easier to write the tracing macros.)
Definition at line 40 of file tracer.hpp.
|
explicit |
Definition at line 20 of file tracer.cpp.
ttracer::tprint::~tprint | ( | ) |
Definition at line 25 of file tracer.cpp.
References right.
const ttracer* const ttracer::tprint::tracer |
The tracer, whose statistics to print.
Definition at line 48 of file tracer.hpp.