This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
eCos Interrupt timing
- From: e dot coullien at faiveley dot com
- To: ecos-discuss at ecos dot sourceware dot org, ecos-patches at ecos dot sourceware dot org
- Date: Fri, 24 Jun 2005 14:59:07 +0200
- Subject: [ECOS] eCos Interrupt timing
Hello,
We try to understand what ecos is doing when receiving an interrupt.
We modified temporally the file vector.S to trace on a logic output a signal
that represent how long is the interrupt time process
In this file, we set the signal before the context saving and we unset it just
before the context restoring
Then on the oscilloscope, we see that the signal is set at every tick system and
it is unset 500us (for a tick of 1ms) later.
During this time, The Decrementer ISR is executed (100 us) then interrupt_end().
It seems most of the time is spent in cyg_scheduler::unlock().
We don't understand what does ecos during these 400us (500-100).
Does somebody have an idea ?
Thanks,
Emmanuel Coullien
NOTE : CE COURRIER ELECTRONIQUE EST DESTINE EXCLUSIVEMENT AU(X) DESTINATAIRE(S) MENTIONNE(S) CI-DESSUS ET PEUT CONTENIR DES INFORMATIONS PRIVILEGIEES, CONFIDENTIELLES ET/OU ET/OU NON SOUMISES A DIVULGATION AUX TERMES DES LOIS APPLICABLES . SI VOUS AVEZ RECU CE MESSAGE PAR ERREUR , OU S'IL NE VOUS EST PAS DESTINE, VEUILLEZ LES SIGNALER IMMEDIATEMENT A L'EXPEDITEUR ET EFFACER CE COURRIER ELECTRONIQUE.
NOTE: This e-mail message is intended only for the named recipient(s) above and may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this e-mail message.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss