| https://www.python.org/ |
| http://legacy.python.org/dev/peps/pep-0418/#left-hand-navigation |
| http://legacy.python.org/dev/peps/pep-0418/#content-body |
| Advanced Search | http://legacy.python.org/search |
| About | http://legacy.python.org/about/ |
| News | http://legacy.python.org/news/ |
| Documentation | http://legacy.python.org/doc/ |
| Download | http://legacy.python.org/download/ |
| 下载 | http://legacy.python.org/getit/ |
| Community | http://legacy.python.org/community/ |
| Foundation | http://legacy.python.org/psf/ |
| Core Development | http://docs.python.org/devguide/ |
| Python Wiki | http://wiki.python.org/moin/ |
| Python Insider Blog | http://blog.python.org/ |
| Python 2 or 3? | http://wiki.python.org/moin/Python2orPython3 |
| Help Fund Python | http://legacy.python.org/psf/donations/ |
| http://legacy.python.org/psf/donations/ |
| http://wiki.python.org/moin/Languages |
| Non-English Resources | http://wiki.python.org/moin/Languages |
|
Python Release Schedule iCal Calendar
| http://www.google.com/calendar/ical/b6v58qvojllt0i6ql654r1vh00%40group.calendar.google.com/public/basic.ics |
|
Python Events iCal Calendar
| http://www.google.com/calendar/ical/j7gov1cmnqr9tvg14k621j7t5c%40group.calendar.google.com/public/basic.ics |
| Add an event | http://www.pycon.org/#calendar |
|
Python User Group iCal Calendar
| http://www.google.com/calendar/ical/3haig2m9msslkpf2tn1h56nn9g%40group.calendar.google.com/public/basic.ics |
| Add an event | http://www.pycon.org/#calendar |
| PEP Index | http://legacy.python.org/dev/peps/ |
| 2016-05-03 13:52:22 +0300 (Tue, 03 May 2016) | http://hg.python.org/peps/file/tip/pep-0418.txt |
| text/x-rst | http://legacy.python.org/dev/peps/pep-0012 |
| Abstract | http://legacy.python.org/dev/peps/pep-0418/#abstract |
| Rationale | http://legacy.python.org/dev/peps/pep-0418/#rationale |
| Python functions | http://legacy.python.org/dev/peps/pep-0418/#python-functions |
| New Functions | http://legacy.python.org/dev/peps/pep-0418/#new-functions |
| time.get_clock_info(name) | http://legacy.python.org/dev/peps/pep-0418/#time-get-clock-info-name |
| time.monotonic() | http://legacy.python.org/dev/peps/pep-0418/#time-monotonic |
| time.perf_counter() | http://legacy.python.org/dev/peps/pep-0418/#time-perf-counter |
| time.process_time() | http://legacy.python.org/dev/peps/pep-0418/#time-process-time |
| Existing Functions | http://legacy.python.org/dev/peps/pep-0418/#existing-functions |
| time.time() | http://legacy.python.org/dev/peps/pep-0418/#time-time |
| time.sleep() | http://legacy.python.org/dev/peps/pep-0418/#time-sleep |
| Deprecated Function | http://legacy.python.org/dev/peps/pep-0418/#deprecated-function |
| time.clock() | http://legacy.python.org/dev/peps/pep-0418/#time-clock |
| Alternatives: API design | http://legacy.python.org/dev/peps/pep-0418/#alternatives-api-design |
| Other names for time.monotonic() | http://legacy.python.org/dev/peps/pep-0418/#other-names-for-time-monotonic |
| Other names for time.perf_counter() | http://legacy.python.org/dev/peps/pep-0418/#other-names-for-time-perf-counter |
| Only expose operating system clocks | http://legacy.python.org/dev/peps/pep-0418/#only-expose-operating-system-clocks |
| time.monotonic(): Fallback to system time | http://legacy.python.org/dev/peps/pep-0418/#time-monotonic-fallback-to-system-time |
| One function with a flag: time.monotonic(fallback=True) | http://legacy.python.org/dev/peps/pep-0418/#one-function-with-a-flag-time-monotonic-fallback-true |
| One time.monotonic() function, no flag | http://legacy.python.org/dev/peps/pep-0418/#one-time-monotonic-function-no-flag |
| Choosing the clock from a list of constraints | http://legacy.python.org/dev/peps/pep-0418/#choosing-the-clock-from-a-list-of-constraints |
| Working around operating system bugs? | http://legacy.python.org/dev/peps/pep-0418/#working-around-operating-system-bugs |
| Glossary | http://legacy.python.org/dev/peps/pep-0418/#glossary |
| Hardware clocks | http://legacy.python.org/dev/peps/pep-0418/#hardware-clocks |
| List of hardware clocks | http://legacy.python.org/dev/peps/pep-0418/#list-of-hardware-clocks |
| Linux clocksource | http://legacy.python.org/dev/peps/pep-0418/#linux-clocksource |
| FreeBSD timecounter | http://legacy.python.org/dev/peps/pep-0418/#freebsd-timecounter |
| Performance | http://legacy.python.org/dev/peps/pep-0418/#performance |
| NTP adjustment | http://legacy.python.org/dev/peps/pep-0418/#ntp-adjustment |
| Operating system time functions | http://legacy.python.org/dev/peps/pep-0418/#operating-system-time-functions |
| Monotonic Clocks | http://legacy.python.org/dev/peps/pep-0418/#monotonic-clocks |
| mach_absolute_time | http://legacy.python.org/dev/peps/pep-0418/#mach-absolute-time |
| CLOCK_MONOTONIC, CLOCK_MONOTONIC_RAW, CLOCK_BOOTTIME | http://legacy.python.org/dev/peps/pep-0418/#clock-monotonic-clock-monotonic-raw-clock-boottime |
| Windows: QueryPerformanceCounter | http://legacy.python.org/dev/peps/pep-0418/#windows-queryperformancecounter |
| Windows: GetTickCount(), GetTickCount64() | http://legacy.python.org/dev/peps/pep-0418/#windows-gettickcount-gettickcount64 |
| Windows: timeGetTime | http://legacy.python.org/dev/peps/pep-0418/#windows-timegettime |
| Solaris: CLOCK_HIGHRES | http://legacy.python.org/dev/peps/pep-0418/#solaris-clock-highres |
| Solaris: gethrtime | http://legacy.python.org/dev/peps/pep-0418/#solaris-gethrtime |
| System Time | http://legacy.python.org/dev/peps/pep-0418/#system-time |
| Windows: GetSystemTimeAsFileTime | http://legacy.python.org/dev/peps/pep-0418/#windows-getsystemtimeasfiletime |
| System time on UNIX | http://legacy.python.org/dev/peps/pep-0418/#system-time-on-unix |
| Process Time | http://legacy.python.org/dev/peps/pep-0418/#process-time |
| Functions | http://legacy.python.org/dev/peps/pep-0418/#functions |
| Thread Time | http://legacy.python.org/dev/peps/pep-0418/#thread-time |
| Functions | http://legacy.python.org/dev/peps/pep-0418/#id9 |
| Windows: QueryUnbiasedInterruptTime | http://legacy.python.org/dev/peps/pep-0418/#windows-queryunbiasedinterrupttime |
| Sleep | http://legacy.python.org/dev/peps/pep-0418/#sleep |
| Functions | http://legacy.python.org/dev/peps/pep-0418/#id10 |
| clock_nanosleep | http://legacy.python.org/dev/peps/pep-0418/#clock-nanosleep |
| select() | http://legacy.python.org/dev/peps/pep-0418/#select |
| Other functions | http://legacy.python.org/dev/peps/pep-0418/#other-functions |
| System Standby | http://legacy.python.org/dev/peps/pep-0418/#system-standby |
| Footnotes | http://legacy.python.org/dev/peps/pep-0418/#footnotes |
| Links | http://legacy.python.org/dev/peps/pep-0418/#links |
| Acceptance | http://legacy.python.org/dev/peps/pep-0418/#acceptance |
| References | http://legacy.python.org/dev/peps/pep-0418/#references |
| Copyright | http://legacy.python.org/dev/peps/pep-0418/#copyright |
| Abstract | http://legacy.python.org/dev/peps/pep-0418/#id18 |
| Rationale | http://legacy.python.org/dev/peps/pep-0418/#id19 |
| Monotonic Clocks | http://legacy.python.org/dev/peps/pep-0418/#monotonic-clocks |
| Python functions | http://legacy.python.org/dev/peps/pep-0418/#id20 |
| New Functions | http://legacy.python.org/dev/peps/pep-0418/#id21 |
| time.get_clock_info(name) | http://legacy.python.org/dev/peps/pep-0418/#id22 |
| time.monotonic() | http://legacy.python.org/dev/peps/pep-0418/#id23 |
| [2] | http://legacy.python.org/dev/peps/pep-0418/#pseudo |
| time.perf_counter() | http://legacy.python.org/dev/peps/pep-0418/#id24 |
| time.process_time() | http://legacy.python.org/dev/peps/pep-0418/#id25 |
| [2] | http://legacy.python.org/dev/peps/pep-0418/#pseudo |
| Existing Functions | http://legacy.python.org/dev/peps/pep-0418/#id26 |
| time.time() | http://legacy.python.org/dev/peps/pep-0418/#id27 |
| [2] | http://legacy.python.org/dev/peps/pep-0418/#pseudo |
| time.sleep() | http://legacy.python.org/dev/peps/pep-0418/#id28 |
| [2] | http://legacy.python.org/dev/peps/pep-0418/#pseudo |
| Deprecated Function | http://legacy.python.org/dev/peps/pep-0418/#id29 |
| time.clock() | http://legacy.python.org/dev/peps/pep-0418/#id30 |
| [2] | http://legacy.python.org/dev/peps/pep-0418/#pseudo |
| Alternatives: API design | http://legacy.python.org/dev/peps/pep-0418/#id31 |
| Other names for time.monotonic() | http://legacy.python.org/dev/peps/pep-0418/#id32 |
| Other names for time.perf_counter() | http://legacy.python.org/dev/peps/pep-0418/#id33 |
| Only expose operating system clocks | http://legacy.python.org/dev/peps/pep-0418/#id34 |
| time.monotonic(): Fallback to system time | http://legacy.python.org/dev/peps/pep-0418/#id35 |
| One function with a flag: time.monotonic(fallback=True) | http://legacy.python.org/dev/peps/pep-0418/#id36 |
| One time.monotonic() function, no flag | http://legacy.python.org/dev/peps/pep-0418/#id37 |
| Choosing the clock from a list of constraints | http://legacy.python.org/dev/peps/pep-0418/#id38 |
| clockutils.py | http://hg.python.org/peps/file/tip/pep-0418/clockutils.py |
| Working around operating system bugs? | http://legacy.python.org/dev/peps/pep-0418/#id39 |
| KB274323 | http://support.microsoft.com/?id=274323 |
| [4] | http://legacy.python.org/dev/peps/pep-0418/#id15 |
| Glossary | http://legacy.python.org/dev/peps/pep-0418/#id40 |
| Accuracy and precision | http://en.wikipedia.org/wiki/Accuracy_and_precision |
| Hardware clocks | http://legacy.python.org/dev/peps/pep-0418/#id41 |
| List of hardware clocks | http://legacy.python.org/dev/peps/pep-0418/#id42 |
| Linux clocksource | http://legacy.python.org/dev/peps/pep-0418/#id43 |
| Re:
clock_getres() and real resolution | http://lkml.org/lkml/2012/2/9/100 |
| time(7) manual page | http://www.kernel.org/doc/man-pages/online/pages/man7/time.7.html |
| FreeBSD timecounter | http://legacy.python.org/dev/peps/pep-0418/#id44 |
| commit 222222 | http://svnweb.freebsd.org/base?view=revision&revision=222222 |
| Timecounters: Efficient and precise timekeeping in SMP kernels | http://phk.freebsd.dk/pubs/timecounter.pdf |
| Performance | http://legacy.python.org/dev/peps/pep-0418/#id45 |
| bench_time.c | http://hg.python.org/peps/file/tip/pep-0418/bench_time.c |
| NTP adjustment | http://legacy.python.org/dev/peps/pep-0418/#id46 |
| documentation of the NTP daemon | http://doc.ntp.org/4.1.2/ntpd.htm |
| Operating system time functions | http://legacy.python.org/dev/peps/pep-0418/#id47 |
| Monotonic Clocks | http://legacy.python.org/dev/peps/pep-0418/#id48 |
| clock_resolution.py | http://hg.python.org/peps/file/tip/pep-0418/clock_resolution.py |
| mach_absolute_time | http://legacy.python.org/dev/peps/pep-0418/#id49 |
| Technical Q&A QA1398 | https://developer.apple.com/library/mac/#qa/qa1398/ |
| Different behaviour of mach_absolute_time() on i386/ppc | http://lists.apple.com/archives/PerfOptimization-dev/2006/Jul/msg00024.html |
| CLOCK_MONOTONIC, CLOCK_MONOTONIC_RAW, CLOCK_BOOTTIME | http://legacy.python.org/dev/peps/pep-0418/#id50 |
| FreeBSD clock_gettime() manual page | http://www.freebsd.org/cgi/man.cgi?query=clock_gettime |
| Linux clock_gettime() manual page | http://linux.die.net/man/3/clock_gettime |
| open issues/ clock_gettime | http://www.gnu.org/software/hurd/open_issues/clock_gettime.html |
| Waking systems from
suspend | http://lwn.net/Articles/429925/ |
| Windows: QueryPerformanceCounter | http://legacy.python.org/dev/peps/pep-0418/#id51 |
| MSDN: QueryPerformanceCounter() documentation | http://msdn.microsoft.com/en-us/library/windows/desktop/ms644904%28v=vs.85%29.aspx |
| MSDN: QueryPerformanceFrequency() documentation | http://msdn.microsoft.com/en-us/library/windows/desktop/ms644905%28v=vs.85%29.aspx |
| SetSystemTimeAdjustment() | http://msdn.microsoft.com/en-us/library/windows/desktop/ms724943(v=vs.85).aspx |
| KB274323 | http://support.microsoft.com/?id=274323 |
| [4] | http://legacy.python.org/dev/peps/pep-0418/#id15 |
| Monotonic timers | http://code-factor.blogspot.fr/2009/11/monotonic-timers.html |
| issue
#8707 | https://www.virtualbox.org/ticket/8707 |
| KB896256 | http://support.microsoft.com/?id=896256 |
| [3] | http://legacy.python.org/dev/peps/pep-0418/#id13 |
| Windows: GetTickCount(), GetTickCount64() | http://legacy.python.org/dev/peps/pep-0418/#id52 |
| GetTickCount() | http://msdn.microsoft.com/en-us/library/windows/desktop/ms724408(v=vs.85).aspx |
| GetTickCount64() | http://msdn.microsoft.com/en-us/library/windows/desktop/ms724411(v=vs.85).aspx |
| undocumented
NtSetTimerResolution() function | http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/Time/NtSetTimerResolution.html |
| Timer
Resolution | http://www.lucashale.com/timer-resolution/ |
| Windows: timeGetTime | http://legacy.python.org/dev/peps/pep-0418/#id53 |
| timeGetTime() documentation | http://msdn.microsoft.com/en-us/library/windows/desktop/dd757629(v=vs.85).aspx |
| Solaris: CLOCK_HIGHRES | http://legacy.python.org/dev/peps/pep-0418/#id54 |
| Solaris: gethrtime | http://legacy.python.org/dev/peps/pep-0418/#id55 |
| Bug 4272663 | http://wesunsolve.net/bugid/id/4272663 |
| gethrtime() manual page of Solaris 11 | http://docs.oracle.com/cd/E23824_01/html/821-1465/gethrtime-3c.html#scrolltoc |
| System Time | http://legacy.python.org/dev/peps/pep-0418/#id56 |
| clock_resolution.py | http://hg.python.org/peps/file/tip/pep-0418/clock_resolution.py |
| Windows: GetSystemTimeAsFileTime | http://legacy.python.org/dev/peps/pep-0418/#id57 |
| GetSystemTimeAsFileTime() documentation | http://msdn.microsoft.com/en-us/library/windows/desktop/ms724397(v=vs.85).aspx |
| System time on UNIX | http://legacy.python.org/dev/peps/pep-0418/#id58 |
| timerfd: add TFD_NOTIFY_CLOCK_SET to watch for clock changes | http://lwn.net/Articles/432395/ |
| Process Time | http://legacy.python.org/dev/peps/pep-0418/#id59 |
| clock_resolution.py | http://hg.python.org/peps/file/tip/pep-0418/clock_resolution.py |
| Functions | http://legacy.python.org/dev/peps/pep-0418/#id60 |
| GetProcessTimes() | http://msdn.microsoft.com/en-us/library/windows/desktop/ms683223(v=vs.85).aspx |
| Tools/pybench/systimes.py | http://hg.python.org/cpython/file/tip/Tools/pybench/systimes.py |
| QueryProcessCycleTime() function | http://msdn.microsoft.com/en-us/library/windows/desktop/ms684929(v=vs.85).aspx |
| clock_getcpuclockid() | http://www.kernel.org/doc/man-pages/online/pages/man3/clock_getcpuclockid.3.html |
| Thread Time | http://legacy.python.org/dev/peps/pep-0418/#id61 |
| clock_resolution.py | http://hg.python.org/peps/file/tip/pep-0418/clock_resolution.py |
| Functions | http://legacy.python.org/dev/peps/pep-0418/#id62 |
| GetThreadTimes() | http://msdn.microsoft.com/en-us/library/windows/desktop/ms683237(v=vs.85).aspx |
| QueryThreadCycleTime() function | http://msdn.microsoft.com/en-us/library/windows/desktop/ms684943(v=vs.85).aspx |
| Windows: QueryUnbiasedInterruptTime | http://legacy.python.org/dev/peps/pep-0418/#id63 |
| QueryIdleProcessorCycleTime() function | http://msdn.microsoft.com/en-us/library/windows/desktop/ms684922(v=vs.85).aspx |
| Sleep | http://legacy.python.org/dev/peps/pep-0418/#id64 |
| Functions | http://legacy.python.org/dev/peps/pep-0418/#id65 |
| Linux manpage of nanosleep() | http://www.kernel.org/doc/man-pages/online/pages/man2/nanosleep.2.html |
| clock_nanosleep | http://legacy.python.org/dev/peps/pep-0418/#id66 |
| Linux
manpage of clock_nanosleep() | http://www.kernel.org/doc/man-pages/online/pages/man2/clock_nanosleep.2.html |
| select() | http://legacy.python.org/dev/peps/pep-0418/#id67 |
| High- (but not too
high-) resolution timeouts | http://lwn.net/Articles/296578/ |
| Timer slack | http://lwn.net/Articles/369549/ |
| Other functions | http://legacy.python.org/dev/peps/pep-0418/#id68 |
| System Standby | http://legacy.python.org/dev/peps/pep-0418/#id69 |
| Registering and unregistering for sleep and wake
notifications | http://developer.apple.com/library/mac/#qa/qa1340/_index.html |
| Footnotes | http://legacy.python.org/dev/peps/pep-0418/#id70 |
| 1 | http://legacy.python.org/dev/peps/pep-0418/#id1 |
| 2 | http://legacy.python.org/dev/peps/pep-0418/#id2 |
| 3 | http://legacy.python.org/dev/peps/pep-0418/#id3 |
| 4 | http://legacy.python.org/dev/peps/pep-0418/#id4 |
| 5 | http://legacy.python.org/dev/peps/pep-0418/#id5 |
| Links | http://legacy.python.org/dev/peps/pep-0418/#id71 |
| Issue #12822: NewGIL should use CLOCK_MONOTONIC if possible. | http://bugs.python.org/issue12822 |
| Issue #14222: Use time.steady() to implement timeout | http://bugs.python.org/issue14222 |
| Issue #14309: Deprecate time.clock() | http://bugs.python.org/issue14309 |
| Issue #14397: Use GetTickCount/GetTickCount64 instead of
QueryPerformanceCounter for monotonic clock | http://bugs.python.org/issue14397 |
| Issue #14428: Implementation of the PEP 418 | http://bugs.python.org/issue14428 |
| Issue #14555: clock_gettime/settime/getres: Add more clock identifiers | http://bugs.python.org/issue14555 |
| Java: System.nanoTime | http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/System.html#nanoTime() |
| Qt library: QElapsedTimer | http://qt-project.org/doc/qt-4.8/qelapsedtimer.html |
| glib library: g_get_monotonic_time () | http://developer.gnome.org/glib/2.30/glib-Date-and-Time-Functions.html#g-get-monotonic-time |
| 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 |
| monotonic_clock | https://github.com/ThomasHabets/monotonic_clock |
| Perl: Time::HiRes | http://perldoc.perl.org/Time/HiRes.html |
| Ruby: AbsoluteTime.now | https://github.com/bwbuchanan/absolute_time/ |
| libpthread | http://code.google.com/p/libpthread/ |
| clock.c | http://code.google.com/p/libpthread/source/browse/src/clock.c |
| Boost.Chrono | http://www.boost.org/doc/libs/1_49_0/doc/html/chrono.html |
| Twisted issue #2424: Add reactor option to start with monotonic clock | http://twistedmatrix.com/trac/ticket/2424 |
| gettimeofday() should never be used to measure time | http://blog.habets.pp.se/2010/09/gettimeofday-should-never-be-used-to-measure-time |
| 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 |
| Windows: Game Timing and Multicore Processors | http://msdn.microsoft.com/en-us/library/ee417693.aspx |
| Implement a Continuously Updating, High-Resolution Time Provider
for Windows | http://msdn.microsoft.com/en-us/magazine/cc163996.aspx |
| clockspeed | http://cr.yp.to/clockspeed.html |
| Retrieving system time | http://en.wikipedia.org/wiki/System_time#Retrieving_system_time |
| Bug 363258 - bad millisecond resolution
for (new Date).getTime() / Date.now() on Windows | https://bugzilla.mozilla.org/show_bug.cgi?id=363258 |
| When microseconds matter | http://www.ibm.com/developerworks/library/i-seconds/ |
| Win32 Performance Measurement Options | http://drdobbs.com/windows/184416651 |
| Counter Availability and Characteristics for Feed-forward Based Synchronization | http://www.cubinlab.ee.unimelb.edu.au/~jrid/Publications/ridoux_ispcs09.pdf |
| System Management Interrupt Free Hardware | http://linuxplumbersconf.org/2009/slides/Keith-Mannthey-SMI-plumers-2009.pdf |
| IBM Real-Time "SMI Free" mode driver | http://lwn.net/Articles/318725/ |
| 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 |
| Acceptance | http://legacy.python.org/dev/peps/pep-0418/#id72 |
| [1] | http://legacy.python.org/dev/peps/pep-0418/#id12 |
| References | http://legacy.python.org/dev/peps/pep-0418/#id73 |
| [1] | http://legacy.python.org/dev/peps/pep-0418/#id11 |
| http://mail.python.org/pipermail/python-dev/2012-April/119094.html | http://mail.python.org/pipermail/python-dev/2012-April/119094.html |
| [3] | http://legacy.python.org/dev/peps/pep-0418/#id14 |
| http://support.microsoft.com/?id=896256 | http://support.microsoft.com/?id=896256 |
| 1 | http://legacy.python.org/dev/peps/pep-0418/#id16 |
| 2 | http://legacy.python.org/dev/peps/pep-0418/#id17 |
| http://support.microsoft.com/?id=274323 | http://support.microsoft.com/?id=274323 |
| Copyright | http://legacy.python.org/dev/peps/pep-0418/#id74 |
| Website maintained by the Python community | http://legacy.python.org/about/website |
| hosting by xs4all | http://www.xs4all.com/ |
| design by Tim Parkin | http://www.timparkin.co.uk/ |
| Python Software Foundation | http://legacy.python.org/psf/ |
| Legal Statements | http://legacy.python.org/about/legal |