cpu: Add branch predictor PMU probe points
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Thu, 16 Oct 2014 09:49:40 +0000 (05:49 -0400)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Thu, 16 Oct 2014 09:49:40 +0000 (05:49 -0400)
commit76b0ff9ecd8bd4818dff8a3cc811bee547b643b4
treed59cdf33b5f0109ef7ead33e81ed5c95aee423f8
parent3697990c27243f0c454f2fab0f12ed06759c97b9
cpu: Add branch predictor PMU probe points

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

 * BPRedUnit::ppBranches / Branches
 * BPRedUnit::ppMisses / Misses
src/cpu/pred/bpred_unit.hh
src/cpu/pred/bpred_unit_impl.hh