[New-bugs-announce] [issue14555] clock_gettime/settime/getres: Add more clock identifiers
STINNER Victor
report at bugs.python.org
Thu Apr 12 00:29:18 CEST 2012
New submission from STINNER Victor <victor.stinner at gmail.com>:
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.
----------
components: Library (Lib)
messages: 158084
nosy: haypo
priority: normal
severity: normal
status: open
title: clock_gettime/settime/getres: Add more clock identifiers
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14555>
_______________________________________
More information about the New-bugs-announce
mailing list