From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10703 invoked by alias); 24 Jun 2005 12:59:25 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 10687 invoked by uid 22791); 24 Jun 2005 12:59:21 -0000 Received: from relay01a.ntr.oleane.net (HELO relay01a.ntr.oleane.net) (194.2.8.85) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 24 Jun 2005 12:59:21 +0000 Received: from era.faiveley.com (smtp.faiveley.fr [194.3.149.193]) by relay01a.ntr.oleane.net with ESMTP id j5OCxI3w014425; Fri, 24 Jun 2005 14:59:18 +0200 Received: from smtp.faiveley.fr ([194.3.149.151]) by era.faiveley.com with InterScan Messaging Security Suite; Fri, 24 Jun 2005 14:59:14 +0200 Received: by smtp.faiveley.fr(Lotus SMTP MTA v4.6.3 (778.2 1-4-1999)) id C125702A.004752AA ; Fri, 24 Jun 2005 14:59:02 +0200 X-Lotus-FromDomain: FAIVELEY From: e.coullien@faiveley.com To: ecos-discuss@ecos.sourceware.org, ecos-patches@ecos.sourceware.org Message-ID: Date: Fri, 24 Jun 2005 12:59:00 -0000 Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-imss-version: 2.028 X-imss-result: Passed X-imss-scores: Clean:12.02038 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:4 C:3 M:4 S:4 R:4 (1.0000 1.0000) Subject: [ECOS] eCos Interrupt timing X-SW-Source: 2005-06/txt/msg00240.txt.bz2 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