From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60173 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq1U7-0005xV-AA for qemu-devel@nongnu.org; Thu, 17 Feb 2011 05:53:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq1U5-0004K1-HB for qemu-devel@nongnu.org; Thu, 17 Feb 2011 05:53:19 -0500 Received: from smtp1.iitd.ernet.in ([202.141.68.45]:43358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq1Tt-000449-G4 for qemu-devel@nongnu.org; Thu, 17 Feb 2011 05:53:17 -0500 Message-ID: <4D5CFAC5.6060201@cse.iitd.ac.in> Date: Thu, 17 Feb 2011 16:09:01 +0530 From: Dushyant Bansal MIME-Version: 1.0 Subject: Re: [Qemu-devel] Instruction count with QEMU References: <4D5CF972.5040609@gmail.com> In-Reply-To: <4D5CF972.5040609@gmail.com> Content-Type: multipart/alternative; boundary="------------060506020203060708030902" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marco Boni Cc: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------060506020203060708030902 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On Thursday 17 February 2011 04:03 PM, Marco Boni wrote: > Hi all, > > I am pretty new to QEMU development. To get involved in this, I have > been asked by my supervisor to do a simple modification to QEMU. > > We would like to count the number of instructions the virtual machine > processes. In other words, it's all about to declare a counter and > increment it every time a guest instruction has to be executed. > > Can you please give me some hints on how to realize it, i.e. which > files I should put my hands on? > > Thanks a lot.... > A guide to help you get started. www.ecs.syr.edu/faculty/yin/Teaching/TC2010/Proj4.pdf Dushyant --------------060506020203060708030902 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Thursday 17 February 2011 04:03 PM, Marco Boni wrote:
Hi all,

I am pretty new to QEMU development. To get involved in this, I have been asked by my supervisor to do a simple modification to QEMU.

We would like to count the number of instructions the virtual machine processes. In other words, it's all about to declare a counter and increment it every time a guest instruction has to be executed.

Can you please give me some hints on how to realize it, i.e. which files I should put my hands on?

Thanks a lot....

A guide to help you get started.
www.ecs.syr.edu/faculty/yin/Teaching/TC2010/Proj4.pdf


Dushyant
--------------060506020203060708030902--