Celeritas
0.5.0-56+6b053cd
|
Print the elapsed time since construction when destructed. More...
#include <ScopedTimeLog.hh>
Public Member Functions | |
ScopedTimeLog (Logger *dest) | |
Construct with a reference to a particular logger. | |
ScopedTimeLog (double min_print_sec) | |
Construct with a manual threshold for printing time. | |
ScopedTimeLog (Logger *dest, double min_print_sec) | |
Construct with a reference to a particular logger. | |
~ScopedTimeLog () | |
Print large enough times when exiting scope. | |
CELER_DELETE_COPY_MOVE (ScopedTimeLog) | |
Print the elapsed time since construction when destructed.
An optional construction argument specifies the minimum time needed to bother printing.
celeritas::ScopedTimeLog::CELER_DELETE_COPY_MOVE | ( | ScopedTimeLog | ) |
Prevent copying and moving for RAII class