mirror of
https://github.com/python/cpython.git
synced 2026-01-07 16:02:55 +00:00
Issue #22043: Oops, fix perf_counter() on UNIX if no monotonic clock is
available (unlikely)
This commit is contained in:
parent
5488449ba4
commit
67ca33dbf4
1 changed files with 1 additions and 2 deletions
|
|
@ -1046,9 +1046,8 @@ perf_counter(_Py_clock_info_t *info)
|
|||
use_monotonic = 0;
|
||||
PyErr_Clear();
|
||||
}
|
||||
#else
|
||||
return floattime(info);
|
||||
#endif
|
||||
return floattime(info);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue