FPS Counter Unit

Download fps.zip (1202 bytes)

I used to find myself wanting to calculate the Frames Per Second that I was acheiving with my graphics programs. I can up with a differant solution every time. Then I invented this unit to allow me to have a simple way of calculating FPS without having to reinvent the code every time. You can see from the source that this is a very SIMPLE unit. It does serve it's purpose very well though! Check out my TP programs for an example that uses this unit.

If you have any suggestions about adding functionality, please contact me!

The reference is included in the .PAS file in the .ZIP archive.


  • Created by Chris Lattner 1996