From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JyX0Z-0006Ma-Pa for qemu-devel@nongnu.org; Tue, 20 May 2008 14:56:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JyX0Y-0006MG-5o for qemu-devel@nongnu.org; Tue, 20 May 2008 14:56:23 -0400 Received: from [199.232.76.173] (port=41438 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyX0Y-0006MD-07 for qemu-devel@nongnu.org; Tue, 20 May 2008 14:56:22 -0400 Received: from py-out-1112.google.com ([64.233.166.177]:28083) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JyX0X-0005fj-3L for qemu-devel@nongnu.org; Tue, 20 May 2008 14:56:21 -0400 Received: by py-out-1112.google.com with SMTP id u52so2559896pyb.10 for ; Tue, 20 May 2008 11:56:19 -0700 (PDT) Message-ID: <3000d2e90805201156g30050a68ve9187e3b94341e99@mail.gmail.com> Date: Tue, 20 May 2008 21:56:18 +0300 From: "Cheif Jones" Subject: [Qemu-devel] Performance Monitoring MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2818_13463427.1211309778711" 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 ------=_Part_2818_13463427.1211309778711 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_2818_13463427.1211309778711 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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
------=_Part_2818_13463427.1211309778711--