]> granicus.if.org Git - python/commit
In Windows' time.clock(), when QueryPerformanceFrequency() fails,
authorGeorg Brandl <georg@python.org>
Thu, 29 Mar 2007 12:42:16 +0000 (12:42 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 29 Mar 2007 12:42:16 +0000 (12:42 +0000)
commit7b1be36bb75b6e682a05f45267077f9c6583f680
treec2f9ecfda4f06080981f5612dc1160f890a1c5a9
parent65245739956825549bd01b98db42403c515f6995
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).
 (backport from rev. 54606)
Modules/timemodule.c