class
#include <bn_timer.h>
timer Provides a way to calculate elapsed times.
Constructors, destructors, conversion operators
- timer()
- Constructor.
Public functions
- auto elapsed_ticks() const -> int
- Returns the number of ticks since this timer was built or restarted.
- void restart()
- Restarts the timer's internal state.
- auto elapsed_ticks_with_restart() -> int
- Returns the number of ticks since this timer was built or restarted, restarting its internal state.