logging module -- better timestamp accuracy on Windows
sturlamolden
sturlamolden at yahoo.no
Wed Feb 16 10:34:20 EST 2011
On 16 Feb, 15:30, benhoyt <benh... at gmail.com> wrote:
> It seems to me that the logging module should use a millisecond-accurate timestamp (time.clock) on Windows, just like the "timeit" module does.
AFAIK, the Windows performance counter has long-term accuracy issues,
so neither is perfect. Preferably we should have a timer with the long-
term accuracy of time.time and the short-term accuracy of time.clock.
Sturla
More information about the Python-list
mailing list