[SDL] Timer accuracy

Bill May wmay at cisco.com
Fri Sep 13 17:58:01 PDT 2002


Most are accurate to 10 msec, at least on the linux
platforms.  To get an accurate frame rate for video
display, I've had to do a lot of work, and am still
mostly 4-5 msec off per frame.

Bill May
www.mpeg4ip.net

Neil Bradley wrote:
> Is there any way in SDL to figure out how accurate (I.E. what granularity)
> the timer functions give off? I'm trying to get something to an exact
> frame rate and I'd like to incorporate any concept of overflow/rounding I
> can to make it more consistent.
> 
> -->Neil
> 
> -------------------------------------------------------------------------------
> Neil Bradley            What are burger lovers saying
> Synthcom Systems, Inc.  about the new BK Back Porch Griller?
> ICQ #29402898	        "It tastes like it came off the back porch." - Me
> 
> 






More information about the SDL mailing list