@ -10,17 +10,17 @@ 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 :
+ - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - +
| Linux , BSD | clock_gettime ( 3 ) |
+ - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - +
| Windows | GetTickCount [ 64 ] |
+ - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - +
| OS X | mach_absolute_time |
+ - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - +
+ - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - +
| Linux , BSD | ` ` clock_gettime ( 3 ) ` ` |
+ - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - +
| Windows | ` ` GetTickCount ` ` or ` ` GetTickCount64 ` ` |
+ - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - +
| OS X | ` ` mach_absolute_time ` ` |
+ - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - +
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 .
cause a ` ` RuntimeError ` ` exception to be raised .
"""
try :
@ -31,7 +31,7 @@ except ImportError:
setup (
name = ' monotonic ' ,
version = ' 0.6 ' ,
version = ' 1.0 ' ,
license = ' Apache ' ,
author = ' Ori Livneh ' ,
author_email = ' ori@wikimedia.org ' ,
@ -39,7 +39,7 @@ setup(
description = ' An implementation of time.monotonic() for Python 2 & < 3.3 ' ,
long_description = __doc__ ,
classifiers = (
' Development Status :: 4 - Beta ' ,
' Development Status :: 5 - Production/Stable ' ,
' License :: OSI Approved :: Apache Software License ' ,
' Programming Language :: Python :: 2 ' ,
' Programming Language :: Python :: 3 ' ,