Timers module
They allow to measure elapsed times with high precision.
Files
- file bn_config_timer.h
- file bn_timer.h
- file bn_timers.h
Namespaces
- namespace bn
- Main Butano namespace.
- namespace bn::timers
- Timing related functions.
Classes
- class bn::timer
- Provides a way to calculate elapsed times.
Defines
- #define BN_CFG_TIMER_FREQUENCY
Define documentation
#define BN_CFG_TIMER_FREQUENCY
#include <bn_config_timer.h>
Specifies timer frequency in clock cycles.
Allowed values are 1, 64, 256 and 1024.