From c8d84d52b83ec9ac911b68979c9eb749e2624c7c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 16 Apr 2012 12:33:05 +0200 Subject: [PATCH] PEP 418: Add link to the "gettimeofday() should never be used to measure time" article Mention also authors of other links. --- pep-0418.txt | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/pep-0418.txt b/pep-0418.txt index f366c07c8..965db82ff 100644 --- a/pep-0418.txt +++ b/pep-0418.txt @@ -1472,7 +1472,7 @@ Libraries exposing monotonic clocks: * `Monoclock.nano_count() `_ uses clock_gettime(CLOCK_MONOTONIC) and returns a number of nanoseconds -* `monotonic_clock `_ +* `monotonic_clock `_ by Thomas Habets * `Perl: Time::HiRes `_ 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 + `_ by Thomas Habets (2010-09-05) * `hrtimers - subsystem for high-resolution kernel timers `_ * `C++ Timeout Specification - `_ + `_ by Lawrence Crowl (2010-08-19) * `Windows: Game Timing and Multicore Processors - `_ + `_ by Chuck Walbourn (December 2005) * `Implement a Continuously Updating, High-Resolution Time Provider for Windows - `_ + `_ by Johan Nilsson (March 2004) * `clockspeed `_ 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 `_ lists hardware clocks and time functions with their resolution and @@ -1527,9 +1529,9 @@ Time: * `When microseconds matter `_: 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 - `_ by Matthew Wilson, May 01, 2003 + `_ by Matthew Wilson (May, 2003) * `Counter Availability and Characteristics for Feed-forward Based Synchronization `_ by Timothy Broomhead, Julien Ridoux, Darryl Veitch (2009) @@ -1537,15 +1539,15 @@ Time: * `System Management Interrupt Free Hardware `_ - (Keith Mannthey, 2009) + by Keith Mannthey (2009) * `IBM Real-Time "SMI Free" mode driver - `_ + `_ by Keith Mannthey (Feb 2009) * `Fixing Realtime problems caused by SMI on Ubuntu `_ * `[RFC] simple SMI detector - `_ - * `[PATCH 2.6.34-rc3] A nonintrusive SMI sniffer for x86. - `_ + `_ by Jon Masters (Jan 2009) + * `[PATCH 2.6.34-rc3] A nonintrusive SMI sniffer for x86 + `_ by Joe Korty (2010-04) Copyright