mirror of
https://github.com/python/cpython
synced 2026-09-26 16:21:04 +03:00
Add "Raw" variant of PyTime functions: * PyTime_MonotonicRaw() * PyTime_PerfCounterRaw() * PyTime_TimeRaw() Changes: * Add documentation and tests. Tests release the GIL while calling raw clock functions. * py_get_system_clock() and py_get_monotonic_clock() now check that the GIL is hold by the caller if raise_exc is non-zero. * Reimplement "Unchecked" functions with raw clock functions. Co-authored-by: Petr Viktorin <encukou@gmail.com>
7 lines
158 B
ReStructuredText
7 lines
158 B
ReStructuredText
Add "Raw" variant of PyTime functions
|
|
|
|
* :c:func:`PyTime_MonotonicRaw`
|
|
* :c:func:`PyTime_PerfCounterRaw`
|
|
* :c:func:`PyTime_TimeRaw`
|
|
|
|
Patch by Victor Stinner.
|