diff options
author | Victor Stinner <vstinner@python.org> | 2023-12-01 17:05:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 17:05:56 +0100 |
commit | 05a370abd6cdfe4b54be60b3b911f3a441026bb2 (patch) | |
tree | 09caae085de5a3a2f666f89f8d3ceec01faaad82 /Include/internal/pycore_pylifecycle.h | |
parent | a9073564ee50bc610e1fd36e45b0a5204618883a (diff) | |
download | cpython-05a370abd6cdfe4b54be60b3b911f3a441026bb2.tar.gz cpython-05a370abd6cdfe4b54be60b3b911f3a441026bb2.zip |
gh-112567: Add _Py_GetTicksPerSecond() function (#112587)
* Move _PyRuntimeState.time to _posixstate.ticks_per_second and
time_module_state.ticks_per_second.
* Add time_module_state.clocks_per_second.
* Rename _PyTime_GetClockWithInfo() to py_clock().
* Rename _PyTime_GetProcessTimeWithInfo() to py_process_time().
* Add process_time_times() helper function, called by
py_process_time().
* os.times() is now always built: no longer rely on HAVE_TIMES.
Diffstat (limited to 'Include/internal/pycore_pylifecycle.h')
-rw-r--r-- | Include/internal/pycore_pylifecycle.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h index 61e0150e890..daf7cb77dcc 100644 --- a/Include/internal/pycore_pylifecycle.h +++ b/Include/internal/pycore_pylifecycle.h @@ -40,7 +40,6 @@ extern void _PySys_FiniTypes(PyInterpreterState *interp); extern int _PyBuiltins_AddExceptions(PyObject * bltinmod); extern PyStatus _Py_HashRandomization_Init(const PyConfig *); -extern PyStatus _PyTime_Init(void); extern PyStatus _PyGC_Init(PyInterpreterState *interp); extern PyStatus _PyAtExit_Init(PyInterpreterState *interp); extern int _Py_Deepfreeze_Init(void); |