Dear List,


I would like to leverage `gem5` to monitor the cache access of a program during 
the runtime.

In particular, considering the following program in assembly code, I would like 
to know, when executing the third memory access instruction (let's say its 
memory address is 0x123456), which cache line it is accessing.


    0x123430: add eax, 1

   0x123440: mov eax, ebx

   0x123456: load eax, [0x8042420]  <----------- load memory content from 
memory address 0x8042420




The simulation is on `32-bit x86` architecture. I am using some median-size C 
program for testing. I watched some tutorials to get familiar with the basic 
functionality of `gem5`, but still have no idea how to intercept the cache 
state for my need during runtime. I am aware the existence of the probe 
utility, but I do find it is hard for me to start with it, especially I would 
like to check the cache access regarding certain lines of instructions.


I am a newbie to `gem5`, and I am actually not an expert in computer 
architecture related stuff.. Sorry if it is a very trivial question.. Any 
advice and suggestion would be appreciated, thank you!




_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to