mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
Closes #22749: remove outdated advice to use clock() for accurate timing.
This commit is contained in:
parent
75f7490843
commit
01546a88b8
1 changed files with 1 additions and 2 deletions
|
|
@ -133,8 +133,7 @@ The module defines the following functions and data items:
|
||||||
|
|
||||||
On Unix, return the current processor time as a floating point number expressed
|
On Unix, return the current processor time as a floating point number expressed
|
||||||
in seconds. The precision, and in fact the very definition of the meaning of
|
in seconds. The precision, and in fact the very definition of the meaning of
|
||||||
"processor time", depends on that of the C function of the same name, but in any
|
"processor time", depends on that of the C function of the same name.
|
||||||
case, this is the function to use for benchmarking Python or timing algorithms.
|
|
||||||
|
|
||||||
On Windows, this function returns wall-clock seconds elapsed since the first
|
On Windows, this function returns wall-clock seconds elapsed since the first
|
||||||
call to this function, as a floating point number, based on the Win32 function
|
call to this function, as a floating point number, based on the Win32 function
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue