* [Qemu-devel] Re: Total instruction count
@ 2009-04-12 16:13 Han Wang
0 siblings, 0 replies; only message in thread
From: Han Wang @ 2009-04-12 16:13 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]
Hi, All,
This is a question regarding getting a total count of instructions being
executed in qemu.
I would like to know how much instruction it takes to boot into linux on
a arm based processor.
This is what I have done:
- I used qemu-system-arm
- I made a sd card image which contains the proper kernel, uImage and
boot loader
- I booted the system using this command ./qemu-system-arm -M beagle -sd
/dev/mmcblk0
Note that I used the mameo3-port of qemu to work on beagle board
emulation.
There is an -d option in qemu-system-arm that allows me to do some
logging. However, after counting the total number of instruction that has
been logged.
I doubt that the -d option only logs the instructions that have been
translated, not the instructions that are actually executed. Since the total
count I get from my log file is way smaller than what is should be.
I wonder if there is anyway, or what modification should I do, to let
qemu log the total number of instructions that has been executed. It may
involves break the direct block-chaining mechanism inside qemu, I presume.
Any advice?
--
Han Wang
Electrical and Computer Engineering
Cornell University
[-- Attachment #2: Type: text/html, Size: 1293 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-12 16:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-12 16:13 [Qemu-devel] Re: Total instruction count Han Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).