At 24/1/2005 21:24, you wrote:

I have a need for a time.clock() with >0.000016 second (16us) accuracy.
The sleep() (on Python 2.3, Win32, at least) has a .001s limit. Is it lower/better on other's platforms?

Try a waitable timer <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/waitable_timer_objects.asp>


SetWaitableTimer specifies the interval with 100ns granularity, but maybe the actual timer precision depends on hardware or OS version or ...


_______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Reply via email to