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

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