Hello all,

I'm in doubt with three parameters inside the file
"mcpat-template.xml" got from https://www.cl.cam.ac.uk/~acr31/sicsa/.
It's Inside the component above:

<component id="system.mem" name="mem">
      <!-- Main memory property -->
      ...
      <stat name="memory_accesses" value="{stats.system.l2.overall_misses}"/>
      <stat name="memory_reads" value="{stats.system.l2.ReadReq_misses}"/>
      <stat name="memory_writes" value="{stats.system.l2.ReadExReq_misses}"/>
</component>

I found that the first two values need to have "::total" appended, like this:

<component id="system.mem" name="mem">
      <!-- Main memory property -->
      ...
      <stat name="memory_accesses"
value="{stats.system.l2.overall_misses::total}"/>
      <stat name="memory_reads"
value="{stats.system.l2.ReadReq_misses::total}"/>
      <stat name="memory_writes" value="{stats.system.l2.ReadExReq_misses}"/>
</component>

Then, I thought maybe the l2 cache information is wrong here. I wonder
if I should do like this:

<component id="system.mem" name="mem">
      <!-- Main memory property -->
      ...
      <stat name="memory_accesses"
value="{stats.system.physmem.num_reads::total}"/>
      <stat name="memory_reads"
value="{stats.system.physmem.num_reads::total}"/>
      <stat name="memory_writes" value="{stats.system.l2.ReadExReq_misses}"/>
</component>

I mean, get the information from physmem. In my stats file, I couldn't
find the num_write one.

Thanks in advance,

-- 
Fernando A. Endo, PhD student and researcher

CEA Lab
and
Université de Grenoble, UJF
France
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to