File indexing completed on 2025-11-19 09:50:42
0001
0002
0003 #ifndef Py_LIMITED_API
0004 #ifndef Py_PYTIME_H
0005 #define Py_PYTIME_H
0006 #ifdef __cplusplus
0007 extern "C" {
0008 #endif
0009
0010 typedef int64_t PyTime_t;
0011 #define PyTime_MIN INT64_MIN
0012 #define PyTime_MAX INT64_MAX
0013
0014 PyAPI_FUNC(double) PyTime_AsSecondsDouble(PyTime_t t);
0015 PyAPI_FUNC(int) PyTime_Monotonic(PyTime_t *result);
0016 PyAPI_FUNC(int) PyTime_PerfCounter(PyTime_t *result);
0017 PyAPI_FUNC(int) PyTime_Time(PyTime_t *result);
0018
0019 PyAPI_FUNC(int) PyTime_MonotonicRaw(PyTime_t *result);
0020 PyAPI_FUNC(int) PyTime_PerfCounterRaw(PyTime_t *result);
0021 PyAPI_FUNC(int) PyTime_TimeRaw(PyTime_t *result);
0022
0023 #ifdef __cplusplus
0024 }
0025 #endif
0026 #endif
0027 #endif