If you need a real fps, you can take it 10 (more or less) times and take average value of it.
Printable View
i am using voron00's libcod
it shows me 252 fps while put com_maxfps 250 , i changed my fps limit to 255 to dont kick innocent players. so its working well for me
Something like this can work.PHP Code:
roundFps(fps)
{
if (fps < 342 && fps > 319)
return 333;
else if (fps < 253 && fps > 237)
return 250;
else if (fps < 131 && fps > 119)
return 125;
else if (fps < 22 && fps > 18)
return 20;
else
return fps;
}