From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zz6ya-0000kr-8D for qemu-devel@nongnu.org; Wed, 18 Nov 2015 12:57:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zz6yZ-0002yo-3X for qemu-devel@nongnu.org; Wed, 18 Nov 2015 12:57:00 -0500 Received: from mail-yk0-x232.google.com ([2607:f8b0:4002:c07::232]:35947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zz6yY-0002yj-VS for qemu-devel@nongnu.org; Wed, 18 Nov 2015 12:56:59 -0500 Received: by ykdr82 with SMTP id r82so77452367ykd.3 for ; Wed, 18 Nov 2015 09:56:58 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20151118151521.GH20436@thinpad.lan.raisama.net> From: Pranith Kumar Date: Wed, 18 Nov 2015 12:56:28 -0500 Message-ID: Content-Type: multipart/alternative; boundary=001a114281965a81ae0524d45ed7 Subject: Re: [Qemu-devel] CPU Cache simulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hao Bai Cc: Eduardo Habkost , qemu-devel --001a114281965a81ae0524d45ed7 Content-Type: text/plain; charset=UTF-8 Hi, On Wed, Nov 18, 2015 at 11:48 AM, Hao Bai 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? > > 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 -- Pranith --001a114281965a81ae0524d45ed7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

On Wed, Nov 18, 2015 at 11:48 AM, Hao Bai <= ;hb4vf@virginia.edu= > wrote:
Sorry about the ambiguity.
I am using x86-6= 4 architecture in user mode. Basically, I am trying to log all the cache ac= tivities when I run a guest program with QEMU. That's why I asked wheth= er QEMU simulated CPU caches. I was assuming if QEMU did not simulate CPU c= aches then there would be no way to do this (Correct me if I am wrong). Is = there a way to do this?

=C2=A0
<Shameless plug>
</Plug>

--
Pr= anith
--001a114281965a81ae0524d45ed7--