![]() |
Parasol Planning Library (PPL)
|
#include <MetricUtils.h>
Public Member Functions | |
Construction | |
MethodTimer (StatClass *const _stats, const std::string &_label) | |
~MethodTimer () | |
Destruction stops the named clock. More... | |
A timer object for functions that starts a clock on construction and stops it on destruction.
MethodTimer::MethodTimer | ( | StatClass *const | _stats, |
const std::string & | _label | ||
) |
Construct a method timer, which starts the named clock.
_stats | The stat class which owns the clock. |
_label | The clock label. |
MethodTimer::~MethodTimer | ( | ) |
Destruction stops the named clock.