gh-110850: Add PyTime_TimeRaw() function (#118394)
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 <[email protected]>
V
Victor Stinner committed
b52c753e0fb8b87c7a0e3f1c72acd18327d8d16b
Parent: a8bcf3e
Committed by GitHub <[email protected]>
on 5/1/2024, 6:05:01 PM