Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r87486:8f678b4a73b3
Date: 2016-10-01 10:42 +0200
http://bitbucket.org/pypy/pypy/changeset/8f678b4a73b3/

Log:    add some more CLOCK_xxx constants that exist on some platforms

diff --git a/rpython/rlib/rtime.py b/rpython/rlib/rtime.py
--- a/rpython/rlib/rtime.py
+++ b/rpython/rlib/rtime.py
@@ -73,10 +73,15 @@
 
 constant_names = ['RUSAGE_SELF', 'EINTR',
                   'CLOCK_REALTIME',
+                  'CLOCK_REALTIME_COARSE',
                   'CLOCK_MONOTONIC',
+                  'CLOCK_MONOTONIC_COARSE',
                   'CLOCK_MONOTONIC_RAW',
+                  'CLOCK_BOOTTIME',
                   'CLOCK_PROCESS_CPUTIME_ID',
                   'CLOCK_THREAD_CPUTIME_ID',
+                  'CLOCK_HIGHRES',
+                  'CLOCK_PROF',
 ]
 for const in constant_names:
     setattr(CConfig, const, rffi_platform.DefinedConstantInteger(const))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to