From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JyrR8-0001Y6-A0 for qemu-devel@nongnu.org; Wed, 21 May 2008 12:45:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JyrR4-0001SK-S5 for qemu-devel@nongnu.org; Wed, 21 May 2008 12:45:08 -0400 Received: from [199.232.76.173] (port=57195 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyrR3-0001SG-Qp for qemu-devel@nongnu.org; Wed, 21 May 2008 12:45:05 -0400 Received: from main.gmane.org ([80.91.229.2]:47476 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JyrR2-0001Hk-UP for qemu-devel@nongnu.org; Wed, 21 May 2008 12:45:05 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JyrR1-0007VH-4G for qemu-devel@nongnu.org; Wed, 21 May 2008 16:45:03 +0000 Received: from rrcs-71-41-149-67.sw.biz.rr.com ([71.41.149.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 May 2008 16:45:03 +0000 Received: from Charles_Duffy by rrcs-71-41-149-67.sw.biz.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 May 2008 16:45:03 +0000 From: Charles Duffy Date: Wed, 21 May 2008 11:10:58 -0500 Message-ID: References: <3000d2e90805201156g30050a68ve9187e3b94341e99@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <3000d2e90805201156g30050a68ve9187e3b94341e99@mail.gmail.com> Sender: news Subject: [Qemu-devel] Re: Performance Monitoring Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cheif Jones wrote: > I'm doing a research project in which i want to run an OS under an > emulator for a period of time and get full CPU opcode statistics (how > many times every opcode was executed). As far as i understand the Qemu > design, it is doing "JIT" translation of terget opcode to host opcodes > to improve performance, and so there is no easy way to count target > opcodes (e.g a loop is compiled JIT and runs natively). Is an actual emulator necessary, or could you use something like an instrumented UML kernel? I'd think that would be a much simpler approach.