qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] struct TimerState


From: Lluís
Subject: Re: [Qemu-devel] struct TimerState
Date: Wed, 22 Jun 2011 14:26:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]