HGE::Timer_GetFPS

Returns current frames-per-second rate.

int Timer_GetFPS();

Return value

Returns number of frame function calls during last second.

Remarks

Use Timer_GetFPS inside your frame function for information and debug purposes. The timer resolution is 1 ms, so you'll never get more than 1000 FPS.

Requirements

Header: hge.h
Import library: hge.lib

See also

Timer_GetTime, Timer_GetDelta