qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Register usage statistics?


From: Lluís
Subject: Re: [Qemu-devel] Register usage statistics?
Date: Fri, 26 Aug 2011 19:35:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Benjamin Ylvisaker writes:

> I am working on a project for which I'd like to gather statistics
> about register usage.  (For example, distributions of degree-of-use
> and dynamic lifetimes of register-values.)  Is QEMU a good tool for
> doing this kind of work?  Has anyone else done this?  I looked at the
> tracing available in QEMU and it seems to be mostly for higher level
> things like memory accesses, function calls, basic block executions,
> etc. 

This is not currently possible.

In fact, I've been developing (somewhat in the background) the kind of
features you're asking for, but it will still be at least a couple of
months before it's in a publishable state.

Meanwhile, there are some tools you can use to accomplish this
(depending on your requirements), like valgrind or pintool.


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]