> > 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