|
Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Timer to printout scope execution time in milliseconds. More...
#include <scoped_timer.h>
Public Types | |
| using | ClockType = std::chrono::steady_clock |
| The time measuring clock. More... | |
Public Member Functions | |
| ScopedTimer (const char *func) | |
| Initialise a new instance of the ScopedTimer class. More... | |
| ScopedTimer (const ScopedTimer &)=delete | |
| ScopedTimer (ScopedTimer &&)=delete | |
| auto | operator= (const ScopedTimer &) -> ScopedTimer &=delete |
| auto | operator= (ScopedTimer &&) -> ScopedTimer &=delete |
| ~ScopedTimer () | |
| Destroys the ScopedTimer instance, printout lifetime duration. More... | |
Timer to printout scope execution time in milliseconds.
| using hgps::core::ScopedTimer::ClockType = std::chrono::steady_clock |
The time measuring clock.
|
inline |
Initialise a new instance of the ScopedTimer class.
| func | The scope function name identification |
|
delete |
|
delete |
|
inline |
Destroys the ScopedTimer instance, printout lifetime duration.
|
delete |
|
delete |