Improve Windows time.clock() blurb; was missing return type and unit.

This commit is contained in:
Tim Peters 2001-08-19 01:38:03 +00:00
parent a6b9e3c814
commit dbec7d2c16

View file

@ -134,10 +134,10 @@ on that of the C function of the same name, but in any case, this is
the function to use for benchmarking\index{benchmarking} Python or the function to use for benchmarking\index{benchmarking} Python or
timing algorithms. timing algorithms.
On Windows, this function returns the nearest approximation to On Windows, this function returns wall-clock seconds elapsed since the
wall-clock time since the first call to this function, based on the first call to this function, as a floating point number,
Win32 function \cfunction{QueryPerformanceCounter()}. The resolution based on the Win32 function \cfunction{QueryPerformanceCounter()}.
is typically better than one microsecond. The resolution is typically better than one microsecond.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{ctime}{\optional{secs}} \begin{funcdesc}{ctime}{\optional{secs}}