This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, vstinner
Date 2012-04-02.22:14:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333404856.07.0.138448349764.issue14428@psf.upfronthosting.co.za>
In-reply-to
Content
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}
History
Date User Action Args
2012-04-02 22:14:16vstinnersetrecipients: + vstinner, neologix
2012-04-02 22:14:16vstinnersetmessageid: <1333404856.07.0.138448349764.issue14428@psf.upfronthosting.co.za>
2012-04-02 22:14:15vstinnerlinkissue14428 messages
2012-04-02 22:14:15vstinnercreate