[Python-checkins] peps: PEP 418: Add link to Monoclock library and an old article on Windows clocks

victor.stinner python-checkins at python.org
Thu Apr 5 00:42:56 CEST 2012


http://hg.python.org/peps/rev/d0033fc0844f
changeset:   4202:d0033fc0844f
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Thu Apr 05 00:38:51 2012 +0200
summary:
  PEP 418: Add link to Monoclock library and an old article on Windows clocks

Mention also another issue of QueryPerformanceCounter()

files:
  pep-0418.txt |  8 ++++++++
  1 files changed, 8 insertions(+), 0 deletions(-)


diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -411,6 +411,9 @@
   each processor.  The bug was fixed in Windows XP SP2.
 * Issues with processor with variable frequency: the frequency is changed
   depending on the workload to reduce memory consumption.
+* Chromium don't use QueryPerformanceCounter() on Athlon X2 CPUs (model 15)
+  because "QueryPerformanceCounter is unreliable" (see base/time_win.cc in
+  Chromium source code)
 
 .. _KB896256: http://support.microsoft.com/?id=896256
 .. _KB274323: http://support.microsoft.com/?id=274323
@@ -905,6 +908,9 @@
 * `python-monotonic-time
   <http://code.google.com/p/python-monotonic-time/>`_ (`github
   <https://github.com/gavinbeatty/python-monotonic-time>`_)
+* `Monoclock.nano_count()
+  <https://github.com/ludios/Monoclock>`_ uses clock_gettime(CLOCK_MONOTONIC)
+  and returns a number of nanoseconds
 * `monotonic_clock <https://github.com/ThomasHabets/monotonic_clock>`_
 * `Perl: Time::HiRes <http://perldoc.perl.org/Time/HiRes.html>`_
   exposes clock_gettime(CLOCK_MONOTONIC)
@@ -961,6 +967,8 @@
   <http://www.ibm.com/developerworks/library/i-seconds/>`_: How the
   IBM High Resolution Time Stamp Facility accurately measures itty
   bits of time
+* `Win32 Performance Measurement Options
+  <http://drdobbs.com/windows/184416651>`_ by Matthew Wilson, May 01, 2003
 
 
 Copyright

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list