[issue14428] Implementation of the PEP 418
STINNER Victor
report at bugs.python.org
Tue Apr 3 00:14:16 CEST 2012
STINNER Victor <victor.stinner at gmail.com> added the comment:
Solaris on x86_64:
>>> pprint.pprint(time.get_clock_info('clock'))
{'accuracy': 1e-06,
'function': 'clock()',
'is_adjusted': False,
'is_monotonic': True,
'resolution': 1e-06}
>>> pprint.pprint(time.get_clock_info('highres'))
{'accuracy': 2e-09,
'function': 'clock_gettime(CLOCK_HIGHRES)',
'is_adjusted': False,
'is_monotonic': True,
'resolution': 1e-09}
>>> pprint.pprint(time.get_clock_info('monotonic'))
{'accuracy': 2e-09,
'function': 'clock_gettime(CLOCK_HIGHRES)',
'is_adjusted': False,
'is_monotonic': True,
'resolution': 1e-09}
>>> pprint.pprint(time.get_clock_info('time'))
{'accuracy': 0.01,
'function': 'clock_gettime(CLOCK_REALTIME)',
'is_adjusted': True,
'is_monotonic': False,
'resolution': 1e-09}
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14428>
_______________________________________
More information about the Python-bugs-list
mailing list