[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Of time scaling and FPS



Dmitry Samoyloff wrote:

> > I don't know of a machine that doesn't have microsecond
> > precision timers *somewhere* - but you may need to write a
> > handy wrapper function to use whatever mechanism works best
> > for a given OS.
> 
> So why SDL gives only a millisecond precision?

Dunno - I don't like SDL.  PLIB's timers are pretty much microsecond
accurate on Linux, BSD, Windoze, MacOS, OS-X, IRIX and Solaris...if
there is some other OS that couldn't do that, it must be a pretty
obscure one.

----------------------------- Steve Baker -------------------------------
Mail : <sjbaker1@airmail.net>   WorkMail: <sjbaker@link.com>
URLs : http://www.sjbaker.org
       http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net
       http://prettypoly.sf.net http://freeglut.sf.net
       http://toobular.sf.net   http://lodestone.sf.net