From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30830 invoked by alias); 4 Sep 2009 10:11:25 -0000 Received: (qmail 30821 invoked by uid 22791); 4 Sep 2009 10:11:24 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from n23.bullet.mail.ukl.yahoo.com (HELO n23.bullet.mail.ukl.yahoo.com) (87.248.110.140) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Fri, 04 Sep 2009 10:11:19 +0000 Received: from [217.146.182.178] by n23.bullet.mail.ukl.yahoo.com with NNFMP; 04 Sep 2009 10:11:16 -0000 Received: from [87.248.110.119] by t4.bullet.ukl.yahoo.com with NNFMP; 04 Sep 2009 10:11:16 -0000 Received: from [127.0.0.1] by omp224.mail.ukl.yahoo.com with NNFMP; 04 Sep 2009 10:11:16 -0000 Received: (qmail 80725 invoked by uid 60001); 4 Sep 2009 10:11:16 -0000 Message-ID: <915838.75812.qm@web87009.mail.ird.yahoo.com> Received: from [217.33.179.85] by web87009.mail.ird.yahoo.com via HTTP; Fri, 04 Sep 2009 10:11:15 GMT References: <4AA0E0BF.4010405@meduna.org> Date: Fri, 04 Sep 2009 10:11:00 -0000 From: Jim Bradleigh To: eCos Discussion In-Reply-To: <4AA0E0BF.4010405@meduna.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] CPULoad on i386 X-SW-Source: 2009-09/txt/msg00057.txt.bz2 Hi, I`ve been trying to get an idea of my applications performance (was < 10% o= n windows machine) and have been running into problems with the cpuload fea= ture. cyg_cpuload_get returns zero for all the fields and I`ve debugged into the = code and fouind the calibration value is (around) 0x64. Shouldn`t the high priroty idle thread run more than ~100 times during 100m= s? I would expect a massive figure here..(also 100 times in 100 ms sounds a= bit like I executed per ms) I`ve tried this with both my custom repository and a default "i386 with 813= 9" repository and the results are the same. I`ve removed network cards, ens= ured a single process CPU (AMD Sempron 2800+) without power managament is u= sed and call the functions at the very start of main()=20 Anyone got any ideas?=20 James -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss