Precise timings ?

Madhusudan Singh spammers-go-here at spam.invalid
Tue Aug 30 17:25:14 EDT 2005


Madhusudan Singh wrote:

> Hi
> 
> I am using time.clock() to get the current time of the processor in
> seconds. For my application, I need really high resolution but currently
> seem to be limited to 0.01 second. Is there a way to specify the
> resolution (say 1-10 microseconds) ? My processor is a 1.4 MHz Intel
> processor. Surely, it should be able to report times a few (or at least
> 10) microseconds apart.
> 
> Thanks.

Correcting a typo (1.4GHz, not 1.4 MHz).

And I am using Linux.



More information about the Python-list mailing list