[Python-checkins] peps: PEP 418: Add Boost.Chrono library in links
victor.stinner
python-checkins at python.org
Wed Apr 4 13:26:54 CEST 2012
http://hg.python.org/peps/rev/8dc2457f0c5c
changeset: 4201:8dc2457f0c5c
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Apr 04 13:26:35 2012 +0200
summary:
PEP 418: Add Boost.Chrono library in links
files:
pep-0418.txt | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -916,6 +916,24 @@
* `libpthread
<http://code.google.com/p/libpthread/>`_: POSIX thread library for Windows
(`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>`_ uses:
+
+ * system_clock:
+
+ * mac = gettimeofday()
+ * posix = clock_gettime(CLOCK_REALTIME)
+ * win = GetSystemTimeAsFileTime()
+
+ * steady_clock:
+
+ * mac = mach_absolute_time()
+ * posix = clock_gettime(CLOCK_MONOTONIC)
+ * win = QueryPerformanceCounter()
+
+ * high_resolution_clock:
+
+ * steady_clock, if available system_clock, otherwise
Time:
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list