Files
dofs/docs/core/timer.md

371 B

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 { ... }