Public Member Functions | |
ScopedTimer (Timer &timer, const unsigned int i) | |
Start timing a new task upon creation. | |
ScopedTimer (Timer &timer, const std::string &name) | |
Start timing a new task upon creation. | |
~ScopedTimer () | |
Upon destruction, stop the task on top of the timer's stack. |
Definition at line 291 of file timer.hh.
|
Start timing a new task upon creation.
Definition at line 112 of file timer.hxx. References Timer::push(). |
|
Start timing a new task upon creation.
Definition at line 120 of file timer.hxx. References Timer::push(). |
|
Upon destruction, stop the task on top of the timer's stack. It is _not_ guaranteed this task is the one started upon creation. Definition at line 128 of file timer.hxx. References Timer::pop(). |