From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14631 invoked by alias); 28 May 2002 08:48:50 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 14606 invoked from network); 28 May 2002 08:48:42 -0000 Received: from unknown (HELO venus.combitech.se) (146.75.247.84) by sources.redhat.com with SMTP; 28 May 2002 08:48:42 -0000 Received: from pluto.combitech.se (localhost [127.0.0.1]) by venus.combitech.se (8.11.6/8.11.6) with ESMTP id g4S8mfS19217 for ; Tue, 28 May 2002 10:48:41 +0200 (MEST) Received: by pluto.combitech.se with Internet Mail Service (5.5.2650.21) id ; Tue, 28 May 2002 10:49:12 +0200 Message-ID: <2253171AF143D21185A60000F8FA748B04840BDE@pluto.combitech.se> From: Daniel.Lidsten@combitechsystems.com To: ecos-discuss@sources.redhat.com Date: Tue, 28 May 2002 01:48:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: [ECOS] Performance measure on PowerPC X-SW-Source: 2002-05/txt/msg00334.txt.bz2 Hi, During the last week i have had a few performance problem with my MPC850. Now that i understand that the real issue was that i had to many extern RAM access then i have to do the best i can to avoid such during critical sections. However, i need some performance measure function that is run everytime the CPU is idle. My thought is that i create a low priority thread together with the rest of all threads in my application. If i do so then i will never get to the real idle_thread in eCos but always stay in the application. Does anyone have a piece of code that by quite simple actions can measure (and store?) the work load of a system? I have search through the archive and found a "ping-pong" measurement method but i want some simpler... Regards, Daniel -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss