libglfps adds a framerate display to OpenGL apps that don't have one built in, through the magic of LD_PRELOAD. (Similar to FRAPS on Windows.)