[SDL] best way to calculate framerate per second

Stefan Hendriks stefanhen83 at gmail.com
Fri Apr 27 01:29:18 PDT 2007


> I think that using the average over a longer time period than one
> second would make it hard to find bottle-necks, since the fps will
> take longer to react to such. As you say, one second is the standard,
> and indeed the ackronym is Frames Per Second. For longer time periods
> it should be called something else.

I totally agree with that. Just mentioned this due the fact i saw this
in Half-Life II (the Source engine). Different kind of metrics where
possible for 'fps'. One was called 'avarage fps'. Which could be
misleading even.

On the other hand, it is just a way of keeping history and showing the
avarage data from that history.


-- 
Stefan Hendriks
-----------------------
http://www.fundynamic.nl


More information about the SDL mailing list