[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#789918: ITP: python-monotonic -- implementation of time.monotonic()



Package: wnpp
Severity: wishlist
Owner: Thomas Goirand <zigo@debian.org>

* Package name    : python-monotonic
  Version         : 0.2.0
  Upstream Author : Ori Livneh <ori@wikimedia.org>
* URL             : https://github.com/atdt/monotonic
* License         : Apache-2.0
  Programming Lang: Python
  Description     : implementation of time.monotonic()

 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 implementation:
 GetTickCount64 on Windows, mach_absolute_time on OS X, and clock_gettime(3)
 on Linux/BSD.
 .
 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.


Reply to: