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 290 of file timer.hh.
ScopedTimer | ( | Timer & | timer, | |
const unsigned int | i | |||
) | [inline] |
ScopedTimer | ( | Timer & | timer, | |
const std::string & | name | |||
) | [inline] |
~ScopedTimer | ( | ) | [inline] |