|
iceberg-cpp
|
RAII guard that records elapsed time into a non-owning Timer on destruction. More...
#include <timer.h>
Public Member Functions | |
| Timed (Timer &timer) | |
| Timed (const Timed &)=delete | |
| Timed & | operator= (const Timed &)=delete |
| Timed (Timed &&other) noexcept | |
| Timed & | operator= (Timed &&other) noexcept |
| void | Stop () |
| Explicitly stop timing and record the duration. | |
RAII guard that records elapsed time into a non-owning Timer on destruction.
| void iceberg::Timer::Timed::Stop | ( | ) |
Explicitly stop timing and record the duration.
Subsequent calls (including the destructor) are no-ops.