[Top][All Lists]

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

Re: [Qemu-discuss] Guest execution statistics from QEMU

From: Dale R. Worley
Subject: Re: [Qemu-discuss] Guest execution statistics from QEMU
Date: Mon, 18 Aug 2014 10:32:40 -0400

> From: "Mie Ite" <address@hidden>
> I would like to know the following information of the guest
> application executed in QEMU:
> - the number of guest instructions executed per each function call
> - the number of memory access instructions
> - the address and size of each executed load / store
> It it possible to extract any of the above from stock QEMU currently
> or should I start to look at the source code?

I seriously doubt it.

You could probably revise the TGC (fully emulated) mode to add
instructions to count memory access operations however you would like.

The "per each function call" metric is tricky, because you'd need to
define what a "function call" is.

But unless the guest program is a mono-processing standalone program,
QEMU isn't going to make it easy to distinguish the application
running on the guest OS from the guest OS.

My guess is that you want to use TCG emulation not to provide a
virtual *computer*, but to provide a virtual copy of the environment
your OS provides for applicaiton programs.  Then the metering you
insert into TCG will measure only what the application program is


reply via email to

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