Hi all,

I am trying to get the specific cache & memory lines accessed by an
application. I am using ruby fs mode and my command is;

./build/X86/gem5.fast configs/example/ruby_fs.py --num-cpus="8"
--kernel="x86_64-vmlinux-2.6.22.9" --debug-flags=Cache --l1i_size="32kB"
--l1d_size="32kB" --l2_size="8MB" --num-l2caches="8" --topology="Crossbar"
--cpu-type="timing" --script="boot/my_script.rcS"

When I use *-debug-flags=Cache* I get the output;

      ....
      0: system.cpu.icache: functional WriteReq ad410
      0: system.cpu.dcache: functional WriteReq ad410
      0: system.cpu.itb_walker_cache: functional WriteReq ad410
      0: system.cpu.dtb_walker_cache: functional WriteReq ad410
      0: system.cpu.icache: ReadReq (ifetch) e08 miss
      1000: system.l2: ReadReq (ifetch) e00 miss
      41000: system.l2: Handling response to e00
      41000: system.l2: Block for addr e00 being updated in Cache
      41000: system.l2: Block addr e00 moving from state 0 to 7
      53000: system.cpu.icache: Handling response to e00
      53000: system.cpu.icache: Block for addr e00 being updated in Cache
      53000: system.cpu.icache: Block addr e00 moving from state 0 to 5
      55000: system.cpu.icache: ReadReq (ifetch) e08 hit
      56000: system.cpu.dcache: ReadReq abec0 miss
      57000: system.l2: ReadReq abec0 miss
      97000: system.l2: Handling response to abec0
      97000: system.l2: Block for addr abec0 being updated in Cache
      97000: system.l2: Block addr abec0 moving from state 0 to 7
      109000: system.cpu.dcache: Handling response to abec0
      ....

=> 109000: system.cpu.dcache: Handling response to abec0
what is 109000 here ? Is it cache line no ?
And I think "abec0" is memory address. Please correct me if I am wrong.

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

Reply via email to