#include <Timecount.h>
Public Member Functions | |
Timecount (const char *msg_r=0, const bool autostart_r=true) | |
~Timecount () | |
void | start (const char *msg_r=0) |
void | stop () |
Private Member Functions | |
Timecount & | operator= (const Timecount &) |
Timecount (const Timecount &) | |
Private Attributes | |
time_t | _start |
std::string | _msg |
|
|
|
Optional set message to use in loglines Call start() per default |
|
Calls stop() |
|
|
|
Start timer and optional reset message |
|
Stop timer and write logline showing message and elapsed time |
|
|
|
|