Allegro 5 api
#include <allegro5/allegro.h> void al_start_timer(ALLEGRO_TIMER *timer)
Start the timer specified. From then, the timer\[aq]s counter will increment at a constant rate, and it will begin generating events. Starting a timer that is already started does nothing.
al_stop_timer(3alleg5), al_get_timer_started(3alleg5)