Clock class
#include <nCine/Base/Clock.h>
System clock.
Public functions
-
auto now() const -> std::
uint64_t -
auto counter() const -> std::
uint64_t - Returns current value of the counter.
-
auto frequency() const -> std::
uint32_t - Returns the counter frequency in counts per second.
Friends
- auto clock() -> Clock&
- Returns system clock instance.