Hooking to performance counter timer

Hi,

I need a high resolution timer to poll my hardware. I think that the
performance counter generates interrupts every 1msec, but I am not sure.
Does anybody have insight on this issue?

Thanks,

Moshik

At 09:34 AM 2/10/2003 -0500, you wrote:

Hi,

I need a high resolution timer to poll my hardware. I think that the
performance counter generates interrupts every 1msec, but I am not sure.
Does anybody have insight on this issue?

I may be wrong, but I am pretty sure the high performance counter does not
generate any interrupts. It can be read to get its current value.

The only interruptable timer source is the standard timer services, which
in my experience is not reliable for delays less than 20ms.

If your hardware needs service more often than that, then it should
generate an interrupt itself when it requires service.

Russ Poffenberger
NPTest, Inc.
xxxxx@NPTest.com

If you need to do something periodically, use the timer APIs. If you want
the timer APIs to have better resolution, then call ExSetTimerResolution to
get the most that the system can give you.

But please, remember to call ExSetTimerResolution again when you no longer
need high resolution. When you crank up the system clock, you was
processing time and battery life.

  • Jake

wrote in message news:xxxxx@ntdevā€¦
>
> Hi,
>
> I need a high resolution timer to poll my hardware. I think that the
> performance counter generates interrupts every 1msec, but I am not sure.
> Does anybody have insight on this issue?
>
> Thanks,
>
> Moshik
>
>