diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/timemodule.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index b5e168f..347c828 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -1389,6 +1389,15 @@ PyInit_time(void) #ifdef CLOCK_THREAD_CPUTIME_ID PyModule_AddIntMacro(m, CLOCK_THREAD_CPUTIME_ID); #endif +#ifdef CLOCK_PROF + PyModule_AddIntMacro(m, CLOCK_PROF); +#endif +#ifdef CLOCK_BOOTTIME + PyModule_AddIntMacro(m, CLOCK_BOOTTIME); +#endif +#ifdef CLOCK_UPTIME + PyModule_AddIntMacro(m, CLOCK_UPTIME); +#endif if (!initialized) { if (PyStructSequence_InitType2(&StructTimeType, |