namespace
#include <bn_timers.h>
timers Timing related functions.
Functions
- auto ticks_per_frame() -> int constexpr
- Returns the number of ticks elapsed in a screen refresh (V-Draw + V-Blank).
- auto ticks_per_second() -> int constexpr
- Returns the number of ticks elapsed in a second.
- auto ticks_per_vblank() -> int constexpr
- Returns the number of ticks elapsed in a V-Blank period.
- auto cpu_clocks_per_tick() -> int constexpr
- Returns the number of CPU clocks per timer tick.