Toby Howard :: Toby's Tips :: Simple OpenGL frame rate counter
This is a very simple free general purpose frames per second counter for OpenGL/GLUT programs.
It displays "Frames per second: N" at an arbitrary position in the window. It safely doesn't disturb your modelview and projection matrices, colours, and lighting.
There are two versions: