al_get_time(3)

al_get_time3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
double al_get_time(void)

Overview

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.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.