summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-04-02 22:31:17 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2012-04-02 22:31:17 (GMT)
commit1470f35bc62c3cf21b209fa8e353d8ea9e71b46b (patch)
treefcb97b4ee4be3a1f3edbd04bda65e06a5e727e55 /Doc/library
parent4ee2a8a127b99e3f7f1cd4ab17a93b240ab56661 (diff)
downloadcpython-1470f35bc62c3cf21b209fa8e353d8ea9e71b46b.zip
cpython-1470f35bc62c3cf21b209fa8e353d8ea9e71b46b.tar.gz
cpython-1470f35bc62c3cf21b209fa8e353d8ea9e71b46b.tar.bz2
Add time.CLOCK_HIGHRES constant, needed on Solaris
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/time.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 581b68a..f87fa64 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -159,6 +159,15 @@ The module defines the following functions and data items:
.. versionadded:: 3.3
+.. data:: CLOCK_HIGHRES
+
+ The Solaris OS has a CLOCK_HIGHRES timer that attempts to use an optimal
+ hardware source, and may give close to nanosecond resolution. CLOCK_HIGHRES
+ is the nonadjustable, high-resolution clock.
+
+ .. versionadded:: 3.3
+
+
.. data:: CLOCK_MONOTONIC
Clock that cannot be set and represents monotonic time since some