From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 925 invoked by alias); 29 Nov 2004 14:47:24 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 667 invoked from network); 29 Nov 2004 14:46:49 -0000 Received: from unknown (HELO cam-admin0.cambridge.arm.com) (193.131.176.58) by sourceware.org with SMTP; 29 Nov 2004 14:46:49 -0000 Received: from pc960.cambridge.arm.com (pc960.cambridge.arm.com [10.1.205.4]) by cam-admin0.cambridge.arm.com (8.12.10/8.12.10) with ESMTP id iATEjvmb006533; Mon, 29 Nov 2004 14:45:57 GMT Received: from pc960.cambridge.arm.com (localhost.localdomain [127.0.0.1]) by pc960.cambridge.arm.com (8.12.8/8.12.8) with ESMTP id iATEkjrg005148; Mon, 29 Nov 2004 14:46:45 GMT Received: (from rearnsha@localhost) by pc960.cambridge.arm.com (8.12.8/8.12.8/Submit) id iATEkfbB005146; Mon, 29 Nov 2004 14:46:41 GMT X-Authentication-Warning: pc960.cambridge.arm.com: rearnsha set sender to rearnsha@gcc.gnu.org using -f Subject: Re: [PATCH] Output execution stats from ARM simulator From: Richard Earnshaw To: jbeniston@compxs.com Cc: gdb-patches@sources.redhat.com In-Reply-To: <001d01c4d620$edbb9e50$0bbda8c0@Kindrogan> References: <001d01c4d620$edbb9e50$0bbda8c0@Kindrogan> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: GNU Message-Id: <1101739601.1585.44.camel@pc960.cambridge.arm.com> Mime-Version: 1.0 Date: Mon, 29 Nov 2004 14:47:00 -0000 X-SW-Source: 2004-11/txt/msg00514.txt.bz2 On Mon, 2004-11-29 at 14:37, Jon Beniston wrote: > Hi, > > The attached patch outputs the number of instructions executed and the > number of cycles taken by the ARM simulator. > > Cheers, > Jon > > 2004-11-29 Jon Beniston > > * wrapper.c (sim_info): Output number of instructions > executed and number of cycles taken to execute them. While I don't see anything wrong with your patch, I'm not sure whether that information is accurately tracked any more. So the numbers probably aren't meaningful, especially for any core other than an ARM7 (and I don't mean an ARM7TDMI either). R.