.. 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
.. versionadded:: 3.3
+
.. data:: CLOCK_MONOTONIC
Clock that cannot be set and represents monotonic time since some
.. versionadded:: 3.3
+
.. data:: CLOCK_MONOTONIC_RAW
Similar to :data:`CLOCK_MONOTONIC`, but provides access to a raw
.. 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