Precise timings ?



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.
.



Relevant Pages

  • Re: BigDecimal and trigonometrics
    ... > The time until George Bush's death in microseconds from noon UTC ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: timing a function
    ... CDuration at http://www.codeproject.com/cpp/duration.asp ... It returns the number of microseconds between calls to CDuration::Start ... > Dudu Arbel ... Prev by Date: ...
    (microsoft.public.vc.mfc)
  • Re: upper db limit on tapes
    ... >> do the microseconds mean? ... > Google is your friend. ... Prev by Date: ...
    (rec.audio.tech)