qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Instruction counting instrumentation for ARM, 2


From: Jamie Lokier
Subject: Re: [Qemu-devel] [PATCH] Instruction counting instrumentation for ARM, 2nd version
Date: Fri, 12 Jun 2009 16:41:25 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Sami Kiminki wrote:
> What we would really like to see is a more general instrumentation
> framework, not just instruction counting and not just for ARM targets.
> The reason for this is that many measurements are so much easier to do
> in emulated/simulated environment than in real HW (e.g. instruction
> counting) and doing them in QEMU is way faster than using an ISA
> interpreter such as Valgrind. Some other instrumentation examples that
> come to my mind are cache usage efficiency analysis, branch profiling,
> and naturally instruction and memory access tracing.

Valgrind isn't an interpreter.  It's a JIT compiler like QEMU's TCG,
so are you sure these things are way faster in QEMU?

What might work better would be to share some code from Valgrind/Cachegrind.

-- Jamie




reply via email to

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