PEP 418: Add link to the "gettimeofday() should never be used to measure time" article

Mention also authors of other links.
This commit is contained in:
Victor Stinner 2012-04-16 12:33:05 +02:00
parent eb118a65fe
commit c8d84d52b8
1 changed files with 14 additions and 12 deletions

View File

@ -1472,7 +1472,7 @@ Libraries exposing monotonic clocks:
* `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 @@ Libraries exposing monotonic clocks:
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 @@ Time:
* `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 @@ Time:
* `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