bn::timers namespace
#include <bn_timers.h>

Timing related functions.

Contents

Functions

auto ticks_per_frame() -> int constexpr
Returns the number of ticks elapsed in a screen refresh (V-Draw + V-Blank).
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.