diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-25 11:06:09 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-25 11:06:09 (GMT) |
commit | e0be4232971edca23438cc3d79761141f2de124f (patch) | |
tree | 7149c8f35615c64e122de1478900f5e8cb516c04 /pyconfig.h.in | |
parent | 92b958420e90b5e98c795db75693310cb9317f95 (diff) | |
download | cpython-e0be4232971edca23438cc3d79761141f2de124f.zip cpython-e0be4232971edca23438cc3d79761141f2de124f.tar.gz cpython-e0be4232971edca23438cc3d79761141f2de124f.tar.bz2 |
Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic
clock
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index dbaa5c4..33ba6c7 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -110,6 +110,12 @@ /* Define to 1 if you have the `clock' function. */ #undef HAVE_CLOCK +/* Define to 1 if you have the `clock_getres' function. */ +#undef HAVE_CLOCK_GETRES + +/* Define to 1 if you have the `clock_gettime' function. */ +#undef HAVE_CLOCK_GETTIME + /* Define if the C compiler supports computed gotos. */ #undef HAVE_COMPUTED_GOTOS @@ -1199,6 +1205,9 @@ /* Define if tanh(-0.) is -0., or if platform doesn't have signed zeros */ #undef TANH_PRESERVES_ZERO_SIGN +/* Library needed by timemodule.c: librt may be needed for clock_gettime() */ +#undef TIMEMODULE_LIB + /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ #undef TIME_WITH_SYS_TIME |