| 1 | #ifndef PYI_FLOATCLOCK_H |
| 2 | #define PYI_FLOATCLOCK_H |
| 3 | |
| 4 | #include <Python.h> |
| 5 | #include "pyi_shared.h" |
| 6 | |
| 7 | typedef enum { |
| 8 | PYI_FLOATCLOCK_DEFAULT = 0, |
| 9 | PYI_FLOATCLOCK_MONOTONIC_COARSE = 1, |
| 10 | } PYIFloatClockType; |
| 11 | |
| 12 | Py_EXPORTED_SYMBOL double pyi_monotonic_coarse_resolution(void); |
| 13 | Py_EXPORTED_SYMBOL double pyi_floatclock(PYIFloatClockType timer); |
| 14 | |
| 15 | #endif |