Re: Is it possible to get 100microsecond timer resolution using the CPU TSC?
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Thu, 24 Apr 2008 05:38:27 GMT
avi01 <kurup.avinash@xxxxxxxxx> wrote:
I'm using the 2.6.24.3 kernel and I need to write a module
that runs a function every 100 microseconds (intervals SHOULD occur @
100 microsecond intervals).
tried using the HPET (high precision event timer), but it;s
not present on my main board.
Now I need to know if it's possible to use the x86 Time
stamp counter for the above application, or can I use the ACPI timer?
Both the cycle counter and the ACPI timer are just that: timers. Neither
one does interrupts.
If you need this for a pseudo-real-time task, you need to get a piece of
hardware to issue interrupts for you.
What do you plan to do 10,000 times a second?
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- Prev by Date: Re: Is it possible to get 100microsecond timer resolution using the CPU TSC?
- Next by Date: Re: Way cool
- Previous by thread: Re: Is it possible to get 100microsecond timer resolution using the CPU TSC?
- Next by thread: Re: Is it possible to get 100microsecond timer resolution using the CPU TSC?
- Index(es):
Relevant Pages
|