base-stats: Rename Units namespace as units
As part of recent decisions regarding namespace naming conventions, all namespaces will be changed to snake case. Stats::Units became Stats::units. Change-Id: I9ce855b291db122d952098a090a2984b42152850 Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45415 Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
This commit is contained in:
committed by
Daniel Carvalho
parent
7592230550
commit
3016478068
@@ -145,39 +145,39 @@ Commit::regProbePoints()
|
||||
|
||||
Commit::CommitStats::CommitStats(CPU *cpu, Commit *commit)
|
||||
: Stats::Group(cpu, "commit"),
|
||||
ADD_STAT(commitSquashedInsts, Stats::Units::Count::get(),
|
||||
ADD_STAT(commitSquashedInsts, Stats::units::Count::get(),
|
||||
"The number of squashed insts skipped by commit"),
|
||||
ADD_STAT(commitNonSpecStalls, Stats::Units::Count::get(),
|
||||
ADD_STAT(commitNonSpecStalls, Stats::units::Count::get(),
|
||||
"The number of times commit has been forced to stall to "
|
||||
"communicate backwards"),
|
||||
ADD_STAT(branchMispredicts, Stats::Units::Count::get(),
|
||||
ADD_STAT(branchMispredicts, Stats::units::Count::get(),
|
||||
"The number of times a branch was mispredicted"),
|
||||
ADD_STAT(numCommittedDist, Stats::Units::Count::get(),
|
||||
ADD_STAT(numCommittedDist, Stats::units::Count::get(),
|
||||
"Number of insts commited each cycle"),
|
||||
ADD_STAT(instsCommitted, Stats::Units::Count::get(),
|
||||
ADD_STAT(instsCommitted, Stats::units::Count::get(),
|
||||
"Number of instructions committed"),
|
||||
ADD_STAT(opsCommitted, Stats::Units::Count::get(),
|
||||
ADD_STAT(opsCommitted, Stats::units::Count::get(),
|
||||
"Number of ops (including micro ops) committed"),
|
||||
ADD_STAT(memRefs, Stats::Units::Count::get(),
|
||||
ADD_STAT(memRefs, Stats::units::Count::get(),
|
||||
"Number of memory references committed"),
|
||||
ADD_STAT(loads, Stats::Units::Count::get(), "Number of loads committed"),
|
||||
ADD_STAT(amos, Stats::Units::Count::get(),
|
||||
ADD_STAT(loads, Stats::units::Count::get(), "Number of loads committed"),
|
||||
ADD_STAT(amos, Stats::units::Count::get(),
|
||||
"Number of atomic instructions committed"),
|
||||
ADD_STAT(membars, Stats::Units::Count::get(),
|
||||
ADD_STAT(membars, Stats::units::Count::get(),
|
||||
"Number of memory barriers committed"),
|
||||
ADD_STAT(branches, Stats::Units::Count::get(),
|
||||
ADD_STAT(branches, Stats::units::Count::get(),
|
||||
"Number of branches committed"),
|
||||
ADD_STAT(vectorInstructions, Stats::Units::Count::get(),
|
||||
ADD_STAT(vectorInstructions, Stats::units::Count::get(),
|
||||
"Number of committed Vector instructions."),
|
||||
ADD_STAT(floating, Stats::Units::Count::get(),
|
||||
ADD_STAT(floating, Stats::units::Count::get(),
|
||||
"Number of committed floating point instructions."),
|
||||
ADD_STAT(integer, Stats::Units::Count::get(),
|
||||
ADD_STAT(integer, Stats::units::Count::get(),
|
||||
"Number of committed integer instructions."),
|
||||
ADD_STAT(functionCalls, Stats::Units::Count::get(),
|
||||
ADD_STAT(functionCalls, Stats::units::Count::get(),
|
||||
"Number of function calls committed."),
|
||||
ADD_STAT(committedInstType, Stats::Units::Count::get(),
|
||||
ADD_STAT(committedInstType, Stats::units::Count::get(),
|
||||
"Class of committed instruction"),
|
||||
ADD_STAT(commitEligibleSamples, Stats::Units::Cycle::get(),
|
||||
ADD_STAT(commitEligibleSamples, Stats::units::Cycle::get(),
|
||||
"number cycles where commit BW limit reached")
|
||||
{
|
||||
using namespace Stats;
|
||||
|
||||
Reference in New Issue
Block a user