slackbuilds/python/monotonic
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README
monotonic.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
monotonic.info
slack-desc python/monotonic: Fix slack-desc. 2016-11-14 16:47:23 +07:00

README

This module provides a monotonic() function which returns the value (in
fractional seconds) of a clock which never goes backwards.

On Python 3.3 or newer, monotonic will be an alias of time.monotonic from the
standard library. On older versions, it will fall back to an equivalent
Linux implementation: clock_gettime.

If no suitable implementation exists for the current platform, attempting to
import this module (or to import from it) will cause a RuntimeError exception
to be raised.