rotor alternative?
Peter Hansen
peter at engcorp.com
Thu Nov 20 17:13:12 EST 2003
Paul Rubin wrote:
>
> bokr at oz.net (Bengt Richter) writes:
> > Just noticed your using time.time.
> >
> > I believe clock has more bits than time, at least on windows:
>
> Interesting, I might try that. Thanks.
The docs for Py2.3 say:
"""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 QueryPerformanceCounter().
The resolution is typically better than one microsecond. """
I wonder if the part about "since the first call to this function" would
make this dangerous for your purposes.
-Peter
More information about the Python-list
mailing list