Files
dofs/docs/core/timer.md

14 lines
371 B
Markdown

# core/timer.h
## class Timer — public interface
### `Timer() { ... }`
### `init();`
### `void init() noexcept { ... }`
### `_start = clock::now();`
### `Time start() const noexcept { ... }`
### `auto tp = _start.time_since_epoch();`
### `Time now() const noexcept { ... }`
### `auto tp = clock::now().time_since_epoch();`
### `Time elapsed() const noexcept { ... }`