This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]