Guest tkishore Posted July 23, 2003 Report Posted July 23, 2003 Hi, I am having some trouble figuring out the best way to calculate the Frames per second for my MPEG4 player application. I tried using WINCE TIMER for calculating FSP but I got very unrealistic FPS (it was very high). Any suggestions in this regard will be greatly appreciated. Thanks.
Guest muff Posted July 23, 2003 Report Posted July 23, 2003 do a GetTickCount each time through your game loop and store it the difference between the GetTickCount and the last one is the number of milliseconds the previous 'frame' took divide 1000 by this number and it gives you the FPS it's better to gather say 100 frames tickcounts into an array and average that out of course if you are using GapiDraw then it has a GetActualFrameRate function
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now