1
SFML wiki / FrameClock: A class to track various frame time statistics.
« on: March 23, 2013, 08:14:36 pm »
Hi,
I've made my first contribution to the SFML wiki by adding the source code of a class designed to track various frame time statistics, such as:
* total number of frames;
* total frame time;
* current frame time;
* shortest measured frame time;
* longest measured frame time;
* average frame time over a user specified number of frames (called sample depth);
* frames per second;
* lowest measured frames per second;
* highest measured frames per second, and;
* average frames per second over a user specified number of frames (called sample depth).
Full details at the link below:
https://github.com/SFML/SFML/wiki/Source:-FrameClock
Thanks,
Lee.
I've made my first contribution to the SFML wiki by adding the source code of a class designed to track various frame time statistics, such as:
* total number of frames;
* total frame time;
* current frame time;
* shortest measured frame time;
* longest measured frame time;
* average frame time over a user specified number of frames (called sample depth);
* frames per second;
* lowest measured frames per second;
* highest measured frames per second, and;
* average frames per second over a user specified number of frames (called sample depth).
Full details at the link below:
https://github.com/SFML/SFML/wiki/Source:-FrameClock
Thanks,
Lee.