Thread: For Krash
View Single Post
Old 7th April 2002, 14:41   #7
Rovastar
Moderator
 
Join Date: Jun 2001
Location: London, England
Posts: 3,632
Send a message via AIM to Rovastar
Krash

Got it the forumla it is (you must have this)

1/(my_ratio) * (frame_per_sec*(my_ratio-1) +1/(time-last_time))

Krash it is not the average of the number of frames it is the 'average of the average of the last x frames' there is a difference.

To work it out and you will have loads of old redundant data in there. If I were you I would stick to something like 10. 2 isn't that bad it is very quick to get within 1 or 2 fps.

Anyway I still feel that anything above my_ratio=10 takes too long to work out that the average fps is. 100 takes ages. You must run this line about 300 times to get an accurate result.

I guessed it correct values

"Rules are for the guidance of wisemen and the obedience of fools"

Visuals - Morphyre www.Morphyre.com
Rovastar is offline   Reply With Quote