al_get_time man page

al_get_time — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

double al_get_time(void)

Description

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.

Referenced By

ALLEGRO_EVENT(3).

Allegro reference manual