Contains code for tracing the code. More...
#include <boost/noncopyable.hpp>
#include <map>
#include <string>
Go to the source code of this file.
Classes | |
struct | ttracer |
Helper structure for gathering the tracing statistics. More... | |
struct | ttracer::tprint |
Helper structure to print the tracing statistics. More... | |
Macros | |
#define | TRACER_ENTRY(interval) |
The beginning of a traced scope. More... | |
#define | TRACER_COUNT(marker) |
A trace count point. More... | |
Contains code for tracing the code.
Definition in file tracer.hpp.
#define TRACER_COUNT | ( | marker | ) |
A trace count point.
When this macro is reached the counter for this marker is increased.
marker | A string with the name of the marker. |
Definition at line 99 of file tracer.hpp.
#define TRACER_ENTRY | ( | interval | ) |
The beginning of a traced scope.
It is not intended that tracer scopes are nested, but it should work at the moment.
interval | The interval between printing the statistics. |
Definition at line 87 of file tracer.hpp.