Trace function calls.
This class is meant to be instantiated at the beginning of each routine in olena. It keep trace of the function call backtrace and remember the time in each function.
This class is intended to be used through the mln_trace macro as follows:
namespace mln
{
void my_function()
{
mln_trace("mln::my_function");
}
}
- Warning
- mln_trace() declares a local variable (named mln_trace_), so do not use mln_trace twice in the same scope to avoid duplicate declarations.
Definition at line 80 of file trace.hh.