Allegro 5 api
#include <allegro5/allegro.h> double al_get_timer_speed(const ALLEGRO_TIMER *timer)
Return the timer\[aq]s speed, in seconds. (The same value passed to al_create_timer(3alleg5) or al_set_timer_speed(3alleg5).)
al_set_timer_speed(3alleg5)