Allegro 5 api
#include <allegro5/allegro.h> int64_t al_get_timer_count(const ALLEGRO_TIMER *timer)
Return the timer\[aq]s counter value. The timer can be started or stopped.
al_set_timer_count(3alleg5)