double al_get_time(void)
Introduced in 5.0.0

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.

Examples: ex_bitmap, ex_bitmap_target, ex_blend, ex_blit, ex_clip, ex_convert, ex_d3d, ex_drawpixels, ex_draw_bitmap, ex_glext, ex_haiku, ex_logo, ex_membmp, ex_ogre3d, ex_opengl, ex_opengl_pixel_shader, ex_pixelformat, ex_premulalpha, ex_prim, ex_timer, ex_transform, ex_ttf

Most helpful discussions:

Other recent discussions: