cpu: Probe points for basic PMU stats
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Thu, 16 Oct 2014 09:49:41 +0000 (05:49 -0400)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Thu, 16 Oct 2014 09:49:41 +0000 (05:49 -0400)
commite0074324bacf500f9d0cc11ebc6e2f29bf3d8ba1
tree0ecfcd3d7e3633251a8f632fe7ee5542a67fb8df
parent9d35d48e848914fd6cf18b016cb9125c50e422c0
cpu: Probe points for basic PMU stats

This changeset adds probe points that can be used to implement PMU
counters for CPU stats. The following probes are supported:

  * BaseCPU::ppCycles / Cycles
  * BaseCPU::ppRetiredInsts / RetiredInsts
  * BaseCPU::ppRetiredLoads / RetiredLoads
  * BaseCPU::ppRetiredStores / RetiredStores
  * BaseCPU::ppRetiredBranches RetiredBranches
src/cpu/base.cc
src/cpu/base.hh
src/cpu/minor/execute.cc
src/cpu/minor/pipeline.hh
src/cpu/o3/cpu.cc
src/cpu/simple/atomic.cc
src/cpu/simple/base.cc
src/cpu/simple/timing.cc
src/cpu/simple/timing.hh
src/sim/ticked_object.hh