|
void | start () |
| Start a time interval. More...
|
|
void | stop () |
| Stop a time interval and update the sum of all intervals. More...
|
|
clock_t | utime () const |
| Return the user time of the current process (without children) of all accumulated interval. More...
|
|
clock_t | cutime () const |
| Return the user time of children of all accumulated interval. More...
|
|
clock_t | stime () const |
| Return the system time of the current process (without children) of all accumulated interval. More...
|
|
clock_t | cstime () const |
| Return the system time of children of all accumulated interval. More...
|
|
clock_t | get_uscp (bool user, bool system, bool children, bool parent) const |
|
bool | is_running () const |
| Whether the timer is running. More...
|
|
std::chrono::milliseconds::rep | walltime () const |
| Return cumulative wall time. More...
|
|
A timekeeper that accumulate interval of time in a more detailed way. For instance, you can get the time spent with or without children processes.