qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] QEMU Profiling


From: Евард Вадим
Subject: [Qemu-devel] QEMU Profiling
Date: Tue, 26 Feb 2013 17:16:48 +0400

Hi list,
Our team is now surveying various binary translation and emulation tools, and as part of this work we have to measure time spent in different parts of the process.
More precisely, I'd like to make this work on x86_64-linux-user qemu without any accelerations.
If article [1] is still relevant, I see the following places to spend time:
1. Locate end of translation block
2. Disassemble it to IR
3. Assemble x86_64 machine code
4. Execute it
5. Process syscalls
6. .. What else?

What is the best method to measure these times you'd suggest?
./configure mentions 4 things I found relevant:
1. --enable-debug-tcg (didn't look at it yet)
2. --enable-trace-backend=B
3. --enable-profiler (some things like qemu_time seem relevant, didn't look closely yet)
4. --enable-gprof (I encountered problems when building and/or running qemu with gprof)

I'd like to hear advices since I'm not familiar with qemu code base.
Thanks in advance,
Vadim Evard.
[1] http://static.usenix.org/publications/library/proceedings/usenix05/tech/freenix/full_papers/bellard/bellard.pdf


reply via email to

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