]> granicus.if.org Git - python/commit
In Windows' time.clock(), when QueryPerformanceFrequency() fails,
authorGeorg Brandl <georg@python.org>
Thu, 29 Mar 2007 12:42:07 +0000 (12:42 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 29 Mar 2007 12:42:07 +0000 (12:42 +0000)
commit30712ab82f7c545cfe89ddf56de135bfbf0ccb67
tree4a26c6ba70840e357efe0c01fc71593a3fd5591b
parent9499b7117a0f0e16727abf1dc7035fce8b0df80d
In Windows' time.clock(), when QueryPerformanceFrequency() fails,
the C lib's clock() is used, but it must be divided by CLOCKS_PER_SEC
as for the POSIX implementation (thanks to #pypy).
Modules/timemodule.c