From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JyZe5-0005Sx-LD for qemu-devel@nongnu.org; Tue, 20 May 2008 17:45:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JyZe2-0005SB-Ns for qemu-devel@nongnu.org; Tue, 20 May 2008 17:45:20 -0400 Received: from [199.232.76.173] (port=35997 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyZe2-0005S8-IR for qemu-devel@nongnu.org; Tue, 20 May 2008 17:45:18 -0400 Received: from fg-out-1718.google.com ([72.14.220.154]:38934) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JyZe2-0006o6-BM for qemu-devel@nongnu.org; Tue, 20 May 2008 17:45:18 -0400 Received: by fg-out-1718.google.com with SMTP id l26so2300904fgb.8 for ; Tue, 20 May 2008 14:45:15 -0700 (PDT) From: "Stanislav Shwartsman" References: <3000d2e90805201156g30050a68ve9187e3b94341e99@mail.gmail.com> In-Reply-To: <3000d2e90805201156g30050a68ve9187e3b94341e99@mail.gmail.com> Subject: RE: [Qemu-devel] Performance Monitoring Date: Wed, 21 May 2008 00:44:57 +0200 Message-ID: <000301c8bacb$229310d0$67b93270$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01C8BADB.E61BE0D0" Content-Language: en-us 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 This is a multipart message in MIME format. ------=_NextPart_000_0004_01C8BADB.E61BE0D0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hello, I think it is better to use Bochs for such purpose . Stanislav From: qemu-devel-bounces+stlintel=gmail.com@nongnu.org [mailto:qemu-devel-bounces+stlintel=gmail.com@nongnu.org] On Behalf Of Cheif Jones Sent: Tuesday, May 20, 2008 8:56 PM To: qemu-devel@nongnu.org Subject: [Qemu-devel] Performance Monitoring Hi All, 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 it possible to disable Qemu's JIT capabilities and get target opcode statistics? Cheif ------=_NextPart_000_0004_01C8BADB.E61BE0D0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hello,

 

I think it is better to use Bochs for such purpose = …

 

Stanislav

 

From:= = qemu-devel-bounces+stlintel=3Dgmail.com@nongnu.org [mailto:qemu-devel-bounces+stlintel=3Dgmail.com@nongnu.org] On Behalf = Of Cheif Jones
Sent: Tuesday, May 20, 2008 8:56 PM
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Performance = Monitoring

 

Hi All,

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 it possible to disable Qemu's JIT capabilities and get target opcode statistics?

Cheif

------=_NextPart_000_0004_01C8BADB.E61BE0D0--