This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2012-04-11.22:29:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334183358.11.0.0329195703165.issue14555@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3.3 supports the following clock identifiers:

 * CLOCK_REALTIME
 * CLOCK_MONOTONIC
 * CLOCK_MONOTONIC_RAW
 * CLOCK_HIGHRES
 * CLOCK_PROCESS_CPUTIME_ID
 * CLOCK_THREAD_CPUTIME_ID

Linux has more clocks:

 * CLOCK_BOOTTIME
 * CLOCK_REALTIME_COARSE
 * CLOCK_MONOTONIC_COARSE
 * CLOCK_BOOTTIME_ALARM
 * CLOCK_REALTIME_ALARM

FreeBSD has more clocks:

 * CLOCK_VIRTUAL
 * CLOCK_UPTIME, CLOCK_UPTIME_FAST, CLOCK_UPTIME_PRECISE
 * CLOCK_MONOTONIC_FAST, CLOCK_MONOTONIC_PRECISE
 * CLOCK_REALTIME_FAST, CLOCK_REALTIME_PRECISE
 * CLOCK_SECOND
 * CLOCK_PROF

CLOCK_BOOTTIME is useful is you would like to handle system suspend for example.
History
Date User Action Args
2012-04-11 22:29:18vstinnersetrecipients: + vstinner
2012-04-11 22:29:18vstinnersetmessageid: <1334183358.11.0.0329195703165.issue14555@psf.upfronthosting.co.za>
2012-04-11 22:29:17vstinnerlinkissue14555 messages
2012-04-11 22:29:17vstinnercreate