From: Peter N. <pn...@ya...> - 2000-10-12 17:58:30
|
> I poll for events from pysdl using the normal > sdl.events_poll() and handle > available events. Then when all events are handled I > check for the current > time using time.clock(), which according to the docs > is *the* function to > use for timing and benchmarking. I think a while back we figured out that time.clock() has more precision on windows and time.time() has more precision on linux, so maybe it's less likely to get 'interrupted'? I don't know if it will help but maybe it wouldn't hurt to try -P __________________________________________________ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ |