]> granicus.if.org Git - python/commit
Prefer clock() over times() for timer function, except on the Mac,
authorGuido van Rossum <guido@python.org>
Tue, 17 Mar 1998 14:46:43 +0000 (14:46 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 17 Mar 1998 14:46:43 +0000 (14:46 +0000)
commit96c07fefa94f01042aeeb32951305e91676dfe8f
tree9365679c69487fb89295faf50440a65d714400ce
parent685ef4e604be84aa40c1b3886726dcac405b1d33
Prefer clock() over times() for timer function, except on the Mac,
where we use GetTicks() -- its clock() is a crock, with only 1 second
accuracy, I believe.
Lib/profile.py