[Python-Dev] PEP 418: Add monotonic clock (original) (raw)
Paul Moore p.f.moore at gmail.com
Tue Mar 27 09:14:11 CEST 2012
- Previous message: [Python-Dev] PEP 418: Add monotonic clock
- Next message: [Python-Dev] PEP 418: Add monotonic clock
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 27 March 2012 01:23, Scott Dial <scott+python-dev at scottdial.com> wrote:
If you want to define new clocks, then I wish you would use the same definitions that C++0x is using. That is:
systemclock = wall clock time monotonicclock = always goes forward but can be adjusted steadyclock = always goes forward and cannot be adjusted highresolutionclock = steadyclock || systemclock
+1. This seems like an ideal case for following prior art in designing a Python API.
Paul
- Previous message: [Python-Dev] PEP 418: Add monotonic clock
- Next message: [Python-Dev] PEP 418: Add monotonic clock
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]