diff --git a/Doc/library/time.rst b/Doc/library/time.rst index 332b30b69b1..581b68af9d0 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -143,12 +143,14 @@ The module defines the following functions and data items: .. versionadded:: 3.3 + .. function:: clock_gettime(clk_id) Return the time of the specified clock *clk_id*. .. versionadded:: 3.3 + .. data:: CLOCK_REALTIME System-wide real-time clock. Setting this clock requires appropriate @@ -156,6 +158,7 @@ The module defines the following functions and data items: .. versionadded:: 3.3 + .. data:: CLOCK_MONOTONIC Clock that cannot be set and represents monotonic time since some @@ -163,6 +166,7 @@ The module defines the following functions and data items: .. versionadded:: 3.3 + .. data:: CLOCK_MONOTONIC_RAW Similar to :data:`CLOCK_MONOTONIC`, but provides access to a raw @@ -172,18 +176,21 @@ The module defines the following functions and data items: .. versionadded:: 3.3 + .. data:: CLOCK_PROCESS_CPUTIME_ID High-resolution per-process timer from the CPU. .. versionadded:: 3.3 + .. data:: CLOCK_THREAD_CPUTIME_ID Thread-specific CPU-time clock. .. versionadded:: 3.3 + .. function:: ctime([secs]) Convert a time expressed in seconds since the epoch to a string representing