[Python-checkins] peps: PEP 418: Add link to the "gettimeofday() should never be used to measure time"

victor.stinner python-checkins at python.org
Mon Apr 16 12:36:35 CEST 2012


http://hg.python.org/peps/rev/e68639195a51
changeset:   4254:e68639195a51
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Apr 16 12:33:05 2012 +0200
summary:
  PEP 418: Add link to the "gettimeofday() should never be used to measure time" article

Mention also authors of other links.

files:
  pep-0418.txt |  26 ++++++++++++++------------
  1 files changed, 14 insertions(+), 12 deletions(-)


diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -1472,7 +1472,7 @@
 * `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>`_
+* `monotonic_clock <https://github.com/ThomasHabets/monotonic_clock>`_ by Thomas Habets
 * `Perl: Time::HiRes <http://perldoc.perl.org/Time/HiRes.html>`_
   exposes clock_gettime(CLOCK_MONOTONIC)
 * `Ruby: AbsoluteTime.now
@@ -1504,17 +1504,19 @@
 
 Time:
 
+* `gettimeofday() should never be used to measure time
+  <http://blog.habets.pp.se/2010/09/gettimeofday-should-never-be-used-to-measure-time>`_ by Thomas Habets (2010-09-05)
 * `hrtimers - subsystem for high-resolution kernel timers
   <http://www.kernel.org/doc/Documentation/timers/hrtimers.txt>`_
 * `C++ Timeout Specification
-  <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3128.html>`_
+  <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3128.html>`_ by Lawrence Crowl (2010-08-19)
 * `Windows: Game Timing and Multicore Processors
-  <http://msdn.microsoft.com/en-us/library/ee417693.aspx>`_
+  <http://msdn.microsoft.com/en-us/library/ee417693.aspx>`_ by Chuck Walbourn (December 2005)
 * `Implement a Continuously Updating, High-Resolution Time Provider
   for Windows
-  <http://msdn.microsoft.com/en-us/magazine/cc163996.aspx>`_
+  <http://msdn.microsoft.com/en-us/magazine/cc163996.aspx>`_ by Johan Nilsson (March 2004)
 * `clockspeed <http://cr.yp.to/clockspeed.html>`_ uses a hardware tick
-  counter to compensate for a persistently fast or slow system time
+  counter to compensate for a persistently fast or slow system time, by D. J. Bernstein (1998)
 * `Retrieving system time
   <http://en.wikipedia.org/wiki/System_time#Retrieving_system_time>`_
   lists hardware clocks and time functions with their resolution and
@@ -1527,9 +1529,9 @@
 * `When microseconds matter
   <http://www.ibm.com/developerworks/library/i-seconds/>`_: How the
   IBM High Resolution Time Stamp Facility accurately measures itty
-  bits of time
+  bits of time, by W. Nathaniel Mills, III (Apr 2002)
 * `Win32 Performance Measurement Options
-  <http://drdobbs.com/windows/184416651>`_ by Matthew Wilson, May 01, 2003
+  <http://drdobbs.com/windows/184416651>`_ by Matthew Wilson (May, 2003)
 * `Counter Availability and Characteristics for Feed-forward Based Synchronization
   <http://www.cubinlab.ee.unimelb.edu.au/~jrid/Publications/ridoux_ispcs09.pdf>`_
   by Timothy Broomhead, Julien Ridoux, Darryl Veitch (2009)
@@ -1537,15 +1539,15 @@
 
   * `System Management Interrupt Free Hardware
     <http://linuxplumbersconf.org/2009/slides/Keith-Mannthey-SMI-plumers-2009.pdf>`_
-    (Keith Mannthey, 2009)
+    by Keith Mannthey (2009)
   * `IBM Real-Time "SMI Free" mode driver
-    <http://lwn.net/Articles/318725/>`_
+    <http://lwn.net/Articles/318725/>`_ by Keith Mannthey (Feb 2009)
   * `Fixing Realtime problems caused by SMI on Ubuntu
     <http://wiki.linuxcnc.org/cgi-bin/wiki.pl?FixingSMIIssues>`_
   * `[RFC] simple SMI detector
-    <http://lwn.net/Articles/316622/>`_
-  * `[PATCH 2.6.34-rc3] A nonintrusive SMI sniffer for x86.
-    <http://marc.info/?l=linux-kernel&m=127058720921201&w=1>`_
+    <http://lwn.net/Articles/316622/>`_ by Jon Masters (Jan 2009)
+  * `[PATCH 2.6.34-rc3] A nonintrusive SMI sniffer for x86
+    <http://marc.info/?l=linux-kernel&m=127058720921201&w=1>`_ by Joe Korty (2010-04)
 
 
 Copyright

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


More information about the Python-checkins mailing list