Received: from [140.186.70.92] (port=50825 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVpBx-0003sl-1d for qemu-devel@nongnu.org; Thu, 23 Dec 2010 12:43:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVpBv-0000OP-NN for qemu-devel@nongnu.org; Thu, 23 Dec 2010 12:43:04 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:48125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVpBv-0000NQ-GZ for qemu-devel@nongnu.org; Thu, 23 Dec 2010 12:43:03 -0500 Message-Id: <71276548-B635-4B30-9660-4F61F6930452@web.de> From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: <4D11ECE8.4050903@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [Qemu-devel] checking the number of target cpu cycles or instructions executed Date: Thu, 23 Dec 2010 18:42:13 +0100 References: <4D11ECE8.4050903@gmail.com> Sender: andreas.faerber@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Bonifazi Cc: QEMU Developers Hi, Am 22.12.2010 um 13:19 schrieb Stefano Bonifazi: > how can I check the number of target cpu cycles or target > instructions executed inside qemu-user (i.e. qemu-ppc)? > Is there any variable I can inspect for such informations? QEMU's emulation is not cycle-accurate, so you will not be able to retrieve CPU cycle info to my knowledge. As for instructions, take a look at the -icount option. Andreas