|
Maze Builder Docs 7.5.6
|
Simple clock for elapsed events. More...
#include <progress.h>
Public Member Functions | |
| void | start () noexcept |
| Start the progress. | |
| void | reset () noexcept |
| Reset the progress. | |
| 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 |