ClanLib

Tips and tricks

Calculating frames per second (fps)

Author: Sphair

Often you want to know how fast or slow your game is running, and displaying a FPS counter can be a handy debug-tool.

Questions or comments, write to the ClanLib mailing list.