Maze Builder Docs 6.0.1
|
Simple clock for elapsed events. More...
#include <progress.h>
Public Member Functions | |
void | start () noexcept |
void | reset () noexcept |
template<typename T = double> | |
T | elapsed () noexcept |
Capture the elapsed time. | |
Static Public Member Functions | |
template<typename F , typename... Args, typename Duration = Time> | |
static Duration | duration (F &&f, Args &&... args) |
Simple clock for elapsed events.
This class is used to track the elapsed time between two events
Thread safe with mutexes
|
inlinestatic |
F | |
...Args | |
Duration |
f | |
...args |
|
inlinenoexcept |
Capture the elapsed time.
T |