Helper structure for gathering the tracing statistics. More...
#include <tracer.hpp>

Classes | |
| struct | tprint |
| Helper structure to print the tracing statistics. More... | |
Public Member Functions | |
| ttracer (const char *const function__) | |
Public Attributes | |
| int | run |
| The total number of runs. More... | |
| const char *const | function |
| The function being traced. More... | |
| std::map< std::pair< int, std::string >, int > | counters |
| The tracer counters. More... | |
Helper structure for gathering the tracing statistics.
Definition at line 29 of file tracer.hpp.
|
explicit |
Definition at line 58 of file tracer.cpp.
| std::map<std::pair<int, std::string>, int> ttracer::counters |
The tracer counters.
The first pair contains a line number and a name of the marker. This has two advantages:
The second pair contains the number of times a marker is hit.
Definition at line 71 of file tracer.hpp.
| const char* const ttracer::function |
The function being traced.
Definition at line 57 of file tracer.hpp.
| int ttracer::run |
The total number of runs.
Definition at line 54 of file tracer.hpp.
1.8.8