[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] CPU Cache simulation
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] CPU Cache simulation |
Date: |
Wed, 18 Nov 2015 16:06:25 -0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Wed, Nov 18, 2015 at 12:56:28PM -0500, Pranith Kumar wrote:
> Hi,
>
> On Wed, Nov 18, 2015 at 11:48 AM, Hao Bai <address@hidden> wrote:
>
> > Sorry about the ambiguity.
> > I am using x86-64 architecture in user mode. Basically, I am trying to log
> > all the cache activities when I run a guest program with QEMU. That's why I
> > asked whether QEMU simulated CPU caches. I was assuming if QEMU did not
> > simulate CPU caches then there would be no way to do this (Correct me if I
> > am wrong). Is there a way to do this?
> >
> >
> <Shameless plug>
>
> You can try qsim: https://github.com/gtcasl/qsim
>
> In particular look at the cache simulator:
> https://github.com/gtcasl/qsim/blob/master/examples/x86/cachesim.cpp
>
> Setup instructions: https://github.com/pranith/qsim-setup
Interesting. How much did you change QEMU to make this work? Have
you been rebasing this to recent QEMU versions often?
--
Eduardo