[ECOS] interrupts and scheduling

keshava gc_keshava@yahoo.com
Sun Sep 4 07:32:00 GMT 2005


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



More information about the Ecos-discuss mailing list