slackbuilds_ponce/python/monotonic
Andre Barboza 9e9270ea8b
python/monotonic: Added (implementation of time.monotonic()).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2016-08-13 07:22:19 +07:00
..
monotonic.info python/monotonic: Added (implementation of time.monotonic()). 2016-08-13 07:22:19 +07:00
monotonic.SlackBuild python/monotonic: Added (implementation of time.monotonic()). 2016-08-13 07:22:19 +07:00
README python/monotonic: Added (implementation of time.monotonic()). 2016-08-13 07:22:19 +07:00
slack-desc python/monotonic: Added (implementation of time.monotonic()). 2016-08-13 07:22:19 +07:00

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.