al_get_time - Allegro 5 API
#include <allegro5/allegro.h> double al_get_time(void)
Return the number of seconds since the Allegro library was initialised. The return value is undefined if Allegro is uninitialised. The resolution depends on the used driver, but typically can be in the order of microseconds.
|Allegro reference manual|