freebsd-ports/devel/py-monotonic/pkg-descr
Roman Bogorodskiy 6eeb6c78e6 New port: devel/py-monotonic
This module provides a monotonic() function which returns the value
(in fractional seconds) of a clock which never goes backwards. It
is compatible with Python 2 and Python 3.

Submitted by:	alfred
Reviewed by:	sunpoet, koobs
Differential Revision:	D3802, D4845
2016-01-11 01:18:02 +00:00

9 lines
383 B
Text

This module provides a monotonic() function which returns the value
(in fractional seconds) of a clock which never goes backwards. It
is compatible with Python 2 and Python 3.
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 implementation:
WWW: https://github.com/atdt/monotonic