Allegro 5 api
#include <allegro5/allegro.h> int al_get_display_refresh_rate(ALLEGRO_DISPLAY *display)
Gets the refresh rate of the display.
al_set_new_display_refresh_rate(3alleg5)