Marc <> wrote:
>
>The above cylcle works, but far too slow for our needs. I did some timing
>measurements with following results:
>- Time between 8 and 9: about 10 µs
>- Time between 9 and 10: about 5 µs
>- Time between 10 and 11: about 10 µs
>
>So since most code is processed in kernel mode I really wonder about the
>long latency. The above measurements mean that the time between an interrupt
>and user mode app reaction is more than 25 µs.
How did you measure this? With some methods of measuring elapsed time, it
takes multiple microseconds just to read the time. For example, if you are
using an I/O port to toggle a signal that you are monitoring on an
oscilloscope, the simple act of writing to an I/O port requires
microseconds.
--
Tim Roberts,
Providenza & Boekelheide, Inc.