DOKK / manpages / debian 10 / allegro5-doc / al_get_timer_count.3alleg5.en
al_get_timer_count(3alleg5) al_get_timer_count(3alleg5)

al_get_timer_count - Allegro 5 API

#include <allegro5/allegro.h>
int64_t al_get_timer_count(const ALLEGRO_TIMER *timer)
    

Return the timer's counter value. The timer can be started or stopped.

al_set_timer_count(3alleg5)

Allegro reference manual