Received: from eggs.gnu.org ([140.186.70.92]:41805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZMYs-00055C-8q for qemu-devel@nongnu.org; Wed, 22 Jun 2011 08:29:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZMYq-0001H5-Ps for qemu-devel@nongnu.org; Wed, 22 Jun 2011 08:29:37 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:43600) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QZMYq-0001Gv-7J for qemu-devel@nongnu.org; Wed, 22 Jun 2011 08:29:36 -0400 From: =?utf-8?Q?Llu=C3=ADs?= References: <87d3i8a74b.fsf@ginnungagap.bsc.es> <871uyn5prc.fsf@ginnungagap.bsc.es> Date: Wed, 22 Jun 2011 14:26:32 +0200 In-Reply-To: (Nilay Vaish's message of "Tue, 21 Jun 2011 11:50:02 -0500 (CDT)") Message-ID: <87sjr23vd3.fsf@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] struct TimerState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nilay Vaish Cc: qemu-devel@nongnu.org Nilay Vaish writes: > I would like to determine the later. icount will give the instruction count. I > need the instruction count as well, but is there some way to determine the guest > cycles as well? On the current implementation, the number of cycles is directly related to the icount, so what you want is 'cpu_get_icount'. Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth