gem5
v20.1.0.0
|
#include <statistics.hh>
Public Types | |
typedef InfoProxyType< Derived > | Info |
Public Member Functions | |
const Info * | info () const |
DataWrap ()=delete | |
DataWrap (const DataWrap &)=delete | |
DataWrap & | operator= (const DataWrap &)=delete |
DataWrap (Group *parent, const char *name, const char *desc) | |
Derived & | name (const std::string &name) |
Set the name and marks this stat to print at the end of simulation. More... | |
const std::string & | name () const |
Derived & | setSeparator (const std::string &_sep) |
Set the character(s) used between the name and vector number on vectors, dist, etc. More... | |
const std::string & | setSeparator () const |
Derived & | desc (const std::string &_desc) |
Set the description and marks this stat to print at the end of simulation. More... | |
Derived & | precision (int _precision) |
Set the precision and marks this stat to print at the end of simulation. More... | |
Derived & | flags (Flags _flags) |
Set the flags and marks this stat to print at the end of simulation. More... | |
template<class Stat > | |
Derived & | prereq (const Stat &prereq) |
Set the prerequisite stat and marks this stat to print at the end of simulation. More... | |
Public Member Functions inherited from Stats::InfoAccess | |
InfoAccess () | |
void | reset () |
Reset the stat to the default state. More... | |
bool | zero () const |
bool | check () const |
Check that this stat has been set up properly and is ready for use. More... | |
Protected Member Functions | |
Derived & | self () |
Info * | info () |
Protected Member Functions inherited from Stats::InfoAccess | |
void | setInfo (Group *parent, Info *info) |
Set up an info class for this statistic. More... | |
void | setParams (const StorageParams *params) |
Save Storage class parameters if any. More... | |
void | setInit () |
Save Storage class parameters if any. More... | |
Info * | info () |
Grab the information class for this statistic. More... | |
const Info * | info () const |
Grab the information class for this statistic. More... | |
Definition at line 223 of file statistics.hh.
typedef InfoProxyType<Derived> Stats::DataWrap< Derived, InfoProxyType >::Info |
Definition at line 226 of file statistics.hh.
|
delete |
|
delete |
|
inline |
Definition at line 251 of file statistics.hh.
|
inline |
Set the description and marks this stat to print at the end of simulation.
desc | The new description. |
Definition at line 307 of file statistics.hh.
Referenced by Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::DataWrap(), Stats::Global::Global(), StackDistProbe::regStats(), EtherDevice::regStats(), MemFootprintProbe::regStats(), FetchStage::regStats(), HTMSequencer::regStats(), RegisterFile::regStats(), GPUDispatcher::regStats(), Profiler::regStats(), LocalMemPipeline::regStats(), ScoreboardCheckStage::regStats(), ExecStage::regStats(), Minor::MinorStats::regStats(), PowerModelState::regStats(), SMMUv3BaseCache::regStats(), ThermalDomain::regStats(), GlobalMemPipeline::regStats(), Ticked::regStats(), AbstractController::regStats(), ScheduleStage::regStats(), Process::regStats(), RubyPrefetcher::regStats(), TLBCoalescer::regStats(), PowerModel::regStats(), BaseSimpleCPU::regStats(), CacheMemory::regStats(), FlashDevice::regStats(), MessageBuffer::regStats(), CopyEngine::regStats(), SMMUv3::regStats(), SnoopFilter::regStats(), X86ISA::GpuTLB::regStats(), QoS::MemSinkCtrl::regStats(), Shader::regStats(), IdeDisk::regStats(), Sinic::Device::regStats(), Wavefront::regStats(), BaseCPU::regStats(), WalkCache::regStats(), ComputeUnit::regStats(), UFSHostDevice::regStats(), and Stats::DataWrapVec< VectorStandardDeviation, VectorDistInfoProxy >::subdesc().
|
inline |
Set the flags and marks this stat to print at the end of simulation.
f | The new flags. |
Definition at line 331 of file statistics.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats(), Minor::Fetch2::Fetch2Stats::Fetch2Stats(), DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), CommMonitor::MonitorStats::MonitorStats(), StackDistProbe::regStats(), MemFootprintProbe::regStats(), HTMSequencer::regStats(), Profiler::regStats(), Switch::regStats(), Minor::MinorStats::regStats(), SMMUv3BaseCache::regStats(), AbstractController::regStats(), GarnetNetwork::regStats(), Router::regStats(), BaseSimpleCPU::regStats(), CacheMemory::regStats(), FlashDevice::regStats(), MessageBuffer::regStats(), CopyEngine::regStats(), SMMUv3::regStats(), Shader::regStats(), WalkCache::regStats(), BaseXBar::regStats(), ComputeUnit::regStats(), UFSHostDevice::regStats(), DefaultRename< Impl >::RenameStats::RenameStats(), and ArmISA::TableWalker::TableWalkerStats::TableWalkerStats().
|
inlineprotected |
Definition at line 233 of file statistics.hh.
Referenced by Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::DataWrap(), Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::desc(), Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::flags(), Stats::Vector2dBase< Vector2d, StatStor >::init(), Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::name(), Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::precision(), Stats::DataWrapVec< VectorStandardDeviation, VectorDistInfoProxy >::prepare(), Stats::Vector2dBase< Vector2d, StatStor >::prepare(), Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::prereq(), Stats::DataWrapVec< VectorStandardDeviation, VectorDistInfoProxy >::reset(), Stats::Vector2dBase< Vector2d, StatStor >::reset(), Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::setSeparator(), Stats::DataWrapVec< VectorStandardDeviation, VectorDistInfoProxy >::subdesc(), Stats::DataWrapVec< VectorStandardDeviation, VectorDistInfoProxy >::subname(), Stats::DataWrapVec2d< Derived, Vector2dInfoProxy >::ysubname(), and Stats::DataWrapVec2d< Derived, Vector2dInfoProxy >::ysubnames().
|
inline |
Definition at line 240 of file statistics.hh.
|
inline |
|
inline |
Set the name and marks this stat to print at the end of simulation.
name | The new name. |
Definition at line 274 of file statistics.hh.
Referenced by Stats::Global::Global(), StackDistProbe::regStats(), EtherDevice::regStats(), MemFootprintProbe::regStats(), FetchStage::regStats(), HTMSequencer::regStats(), RegisterFile::regStats(), GPUDispatcher::regStats(), Profiler::regStats(), Switch::regStats(), LocalMemPipeline::regStats(), Throttle::regStats(), ScoreboardCheckStage::regStats(), ExecStage::regStats(), Minor::MinorStats::regStats(), PowerModelState::regStats(), SMMUv3BaseCache::regStats(), ThermalDomain::regStats(), GlobalMemPipeline::regStats(), Ticked::regStats(), AbstractController::regStats(), GarnetNetwork::regStats(), ScheduleStage::regStats(), Process::regStats(), Router::regStats(), RubyPrefetcher::regStats(), TLBCoalescer::regStats(), PowerModel::regStats(), BaseSimpleCPU::regStats(), CacheMemory::regStats(), FlashDevice::regStats(), MessageBuffer::regStats(), CopyEngine::regStats(), SMMUv3::regStats(), SnoopFilter::regStats(), X86ISA::GpuTLB::regStats(), QoS::MemSinkCtrl::regStats(), Shader::regStats(), IdeDisk::regStats(), Sinic::Device::regStats(), Wavefront::regStats(), BaseCPU::regStats(), WalkCache::regStats(), ComputeUnit::regStats(), and UFSHostDevice::regStats().
|
delete |
|
inline |
Set the precision and marks this stat to print at the end of simulation.
_precision | The new precision |
Definition at line 319 of file statistics.hh.
Referenced by BPredUnit::BPredUnitStats::BPredUnitStats(), Stats::Global::Global(), EtherDevice::regStats(), Minor::MinorStats::regStats(), and TraceCPU::TraceStats::TraceStats().
|
inline |
Set the prerequisite stat and marks this stat to print at the end of simulation.
prereq | The prerequisite stat. |
Definition at line 345 of file statistics.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats(), DefaultDecode< Impl >::DecodeStats::DecodeStats(), DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), Stats::Global::Global(), EtherDevice::regStats(), Minor::MinorStats::regStats(), BaseSimpleCPU::regStats(), and DefaultRename< Impl >::RenameStats::RenameStats().
|
inlineprotected |
Definition at line 229 of file statistics.hh.
|
inline |
Definition at line 295 of file statistics.hh.
|
inline |
Set the character(s) used between the name and vector number on vectors, dist, etc.
_sep | The new separator string |
Definition at line 290 of file statistics.hh.