This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: interrupts and scheduling
- From: keshava <gc_keshava at yahoo dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sun, 4 Sep 2005 00:32:33 -0700 (PDT)
- Subject: Re: [ECOS] interrupts and scheduling
>
>
>That sounds OK.
>
>How did you make your timing measurements for the
ISR?
>
> Andrew
We have a timer which is driven by a 32Mhz clock. It
has a timer count register which decrements every
clock cycle. By, measuring the difference in timer
count between the begining of the ISR routine and the
end , we were able to measure the time. Timer count
decrements every 31.5 nanosecs. The difference in
count was 41. So, 41 * 30.5 comes close to 1.3
microsecs.
regards,
keshav
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss