|
OpenImageIO
|
#include <timer.h>
Public Member Functions | |
| ScopedTimer (TIMER &t) | |
| ~ScopedTimer () | |
| void | start () |
| void | stop () |
| void | reset () |
Helper class that starts and stops a timer when the ScopedTimer goes in and out of scope.
|
inline |
Given a reference to a timer, start it when this constructor occurs.
|
inline |
Stop the timer from ticking when this object is destroyed (i.e. it leaves scope).
|
inline |
Explicit reset of the timer.
|
inline |
Explicit start of the timer.
|
inline |
Explicit stop of the timer.
1.8.2