Re: obtaining frame rate

New Message Reply Date view Thread view Subject view Author view

Howard Abrams (abramsh++at++erau.db.erau.edu)
Mon, 11 Oct 93 16:57:16 EDT


>
> How do I obtain the actual, achieved frame rate of the system?
> pfGetFrameRate() returns the system frame rate set in pfFrameRate(),
> so that is not the answer.
>

 One answer could be to calculate the time it took to go though the loop.

 ie. Actual_FPS = 1 / Change_in_time.

 where to get the time is a different story. I tried using pfGetTime()(?)
 but it often returned strange results.
  
                    --- Howard Abrams

(_/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\_)
(| .. |)
(| abramsh++at++erau.db.erau.edu .. - Real Men See 60Hz - |)
(| .. |)
(\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/)


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:03 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.