How to get high precision timer in python?
littlesweetmelon at gmail.com
Wed Oct 29 03:14:32 CET 2008
I use python2.5 in WindowsXP. If using time.time() as timer, it seems
the maximum precision is about 10-12ms. Maybe this is caused by
the time slice defined in process scheduler. However, in my project,
I have to get timer percision up to 1ms. What should I do? Do I have
to call Win32 API? Or simply promote python thread priority?
More information about the Python-list