[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: Performance Monitoring
From: |
Glauber Costa |
Subject: |
Re: [Qemu-devel] Re: Performance Monitoring |
Date: |
Thu, 22 May 2008 00:46:44 -0300 |
On Wed, May 21, 2008 at 1:10 PM, Charles Duffy
<address@hidden> wrote:
> Cheif Jones wrote:
>>
>> I'm doing a research project in which i want to run an OS under an
>> emulator for a period of time and get full CPU opcode statistics (how many
>> times every opcode was executed). As far as i understand the Qemu design, it
>> is doing "JIT" translation of terget opcode to host opcodes to improve
>> performance, and so there is no easy way to count target opcodes (e.g a loop
>> is compiled JIT and runs natively).
>
> Is an actual emulator necessary, or could you use something like an
> instrumented UML kernel? I'd think that would be a much simpler approach.
Since he claims to need opcode statistics, and UML won't trap any
instruction but the privileged ones, does not seem feasible.
--
Glauber Costa.
"Free as in Freedom"
http://glommer.net
"The less confident you are, the more serious you have to act."