Sentinel for the timer. The sentinel associated with a timer allows it to be triggered upon its construction and stopped upon its destruction. This ensures that the timer will be properly stopped in case of an exception, for example. More...
#include <arcane/core/Timer.h>
Public Member Functions | |
| Sentry (Timer *t) | |
| Associates the timer t and starts it. | |
| ~Sentry () | |
| Stops the associated timer. | |
Sentinel for the timer. The sentinel associated with a timer allows it to be triggered upon its construction and stopped upon its destruction. This ensures that the timer will be properly stopped in case of an exception, for example.
|
inline |
Associates the timer t and starts it.
Definition at line 94 of file Timer.h.
References Arcane::Timer::Timer().
|
inline |