[Python-Dev] [RFC] PEP 418: Add monotonic time, performance counter and process time functions (original) (raw)
Victor Stinner victor.stinner at gmail.com
Tue Apr 17 01:22:49 CEST 2012
- Previous message: [Python-Dev] PEP 418: Add monotonic time, performance counter and process time functions
- Next message: [Python-Dev] [RFC] PEP 418: Add monotonic time, performance counter and process time functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Here is a simplified version of the first draft of the PEP 418. The full version can be read online. http://www.python.org/dev/peps/pep-0418/
I wrote an implementation in pure Python using ctypes for Python < 3.3:
https://bitbucket.org/haypo/misc/src/tip/python/pep418.py
I tested it on Linux, OpenBSD, FreeBSD and Windows. It's more a proof-of-concept to test the PEP than a library written to be reused by programs.
Victor
- Previous message: [Python-Dev] PEP 418: Add monotonic time, performance counter and process time functions
- Next message: [Python-Dev] [RFC] PEP 418: Add monotonic time, performance counter and process time functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]