qemu-devel@nongnu.org
[Top] [All Lists]

Re: [Qemu-devel] Performance counter

Subject: Re: [Qemu-devel] Performance counter
From: Paul Brook
Date: Mon, 10 Sep 2007 16:15:22 +0100
> > I'm using qemu at the moment to run a system for debugging purposes.  I
> > was wondering whether qemu does actually emulate the performance
> > counters on IA32.  Every time i try to read the value out, it
> > consistently gives me zero even though i have written to the given model
> > specific register.
>
> the performance registers aren't implemented on QEMU.

QEMU is not cycle accurate, nor does it emulate memory caches or have an 
accurate TLB model, so I'm fairly sure we do can have provide meaningful 
values for most of the counters.

Paul


<Prev in Thread] Current Thread [Next in Thread>