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
2
src/mem/cache/prefetch/base.cc
vendored
2
src/mem/cache/prefetch/base.cc
vendored
@@ -113,7 +113,7 @@ Base::setCache(BaseCache *_cache)
|
||||
}
|
||||
Base::StatGroup::StatGroup(Stats::Group *parent)
|
||||
: Stats::Group(parent),
|
||||
ADD_STAT(pfIssued, Stats::Units::Count::get(), "number of hwpf issued")
|
||||
ADD_STAT(pfIssued, Stats::units::Count::get(), "number of hwpf issued")
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
10
src/mem/cache/prefetch/queued.cc
vendored
10
src/mem/cache/prefetch/queued.cc
vendored
@@ -226,15 +226,15 @@ Queued::getPacket()
|
||||
}
|
||||
Queued::QueuedStats::QueuedStats(Stats::Group *parent)
|
||||
: Stats::Group(parent),
|
||||
ADD_STAT(pfIdentified, Stats::Units::Count::get(),
|
||||
ADD_STAT(pfIdentified, Stats::units::Count::get(),
|
||||
"number of prefetch candidates identified"),
|
||||
ADD_STAT(pfBufferHit, Stats::Units::Count::get(),
|
||||
ADD_STAT(pfBufferHit, Stats::units::Count::get(),
|
||||
"number of redundant prefetches already in prefetch queue"),
|
||||
ADD_STAT(pfInCache, Stats::Units::Count::get(),
|
||||
ADD_STAT(pfInCache, Stats::units::Count::get(),
|
||||
"number of redundant prefetches already in cache/mshr dropped"),
|
||||
ADD_STAT(pfRemovedFull, Stats::Units::Count::get(),
|
||||
ADD_STAT(pfRemovedFull, Stats::units::Count::get(),
|
||||
"number of prefetches dropped due to prefetch queue size"),
|
||||
ADD_STAT(pfSpanPage, Stats::Units::Count::get(),
|
||||
ADD_STAT(pfSpanPage, Stats::units::Count::get(),
|
||||
"number of prefetches that crossed the page")
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user