1al_create_timer(3) Library Functions Manual al_create_timer(3)
2
3
4
6 al_create_timer
7
9 #include <allegro5/allegro.h>
10
11 ALLEGRO_TIMER* al_create_timer(double speed_secs)
12
14 Install a new timer. If successful, a pointer to a new timer object is
15 returned, otherwise NULL is returned. speed_secs is in seconds per
16 “tick”, and must be positive. The new timer is initially stopped.
17
18 The system driver must be installed before this function can be called.
19
20 Usage note: typical granularity is on the order of microseconds, but
21 with some drivers might only be milliseconds.
22
24 al_start_timer(3), al_destroy_timer(3)
25
26
27
28Allegro reference manual al_create_timer(3)