|
gem5
v21.0.1.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 Units::Base *unit, 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 & | unit (const Units::Base *_unit) |
| Set the unit of the stat. More... | |
| 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 217 of file statistics.hh.
| typedef InfoProxyType<Derived> Stats::DataWrap< Derived, InfoProxyType >::Info |
Definition at line 220 of file statistics.hh.
|
delete |
|
delete |
|
inline |
Definition at line 244 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 315 of file statistics.hh.
Referenced by Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::DataWrap(), HTMSequencer::regStats(), Ticked::regStats(), Shader::ShaderStats::ShaderStats(), 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 339 of file statistics.hh.
Referenced by CacheMemory::CacheMemoryStats::CacheMemoryStats(), DefaultCommit< Impl >::CommitStats::CommitStats(), ComputeUnit::ComputeUnitStats::ComputeUnitStats(), AbstractController::ControllerStats::ControllerStats(), CopyEngine::CopyEngineStats::CopyEngineStats(), SimpleExecContext::ExecContextStats::ExecContextStats(), DefaultIEW< Impl >::IEWStats::ExecutedInstStats::ExecutedInstStats(), Minor::Fetch2::Fetch2Stats::Fetch2Stats(), DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), FlashDevice::FlashDeviceStats::FlashDeviceStats(), FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats(), HDLcd::HDLcdStats::HDLcdStats(), HTMSequencer::HTMSequencer(), DefaultIEW< Impl >::IEWStats::IEWStats(), InstructionQueue< Impl >::IQIOStats::IQIOStats(), InstructionQueue< Impl >::IQStats::IQStats(), MemFootprintProbe::MemFootprintProbeStats::MemFootprintProbeStats(), MessageBuffer::MessageBuffer(), Minor::MinorStats::MinorStats(), CommMonitor::MonitorStats::MonitorStats(), Profiler::ProfilerStats::ProfilerStats(), HTMSequencer::regStats(), Switch::regStats(), GarnetNetwork::regStats(), Router::regStats(), BaseXBar::regStats(), DefaultRename< Impl >::RenameStats::RenameStats(), Shader::ShaderStats::ShaderStats(), SMMUv3BaseCache::SMMUv3BaseCacheStats::SMMUv3BaseCacheStats(), SMMUv3::SMMUv3Stats::SMMUv3Stats(), StackDistProbe::StackDistProbeStats::StackDistProbeStats(), ArmISA::TableWalker::TableWalkerStats::TableWalkerStats(), UFSHostDevice::UFSHostDeviceStats::UFSHostDeviceStats(), and WalkCache::WalkCacheStats::WalkCacheStats().
|
inlineprotected |
Definition at line 227 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::DataWrap< SparseHistogram, SparseHistInfoProxy >::unit(), Stats::DataWrapVec2d< Derived, Vector2dInfoProxy >::ysubname(), and Stats::DataWrapVec2d< Derived, Vector2dInfoProxy >::ysubnames().
|
inline |
Definition at line 234 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 270 of file statistics.hh.
Referenced by HTMSequencer::regStats(), Ticked::regStats(), GarnetNetwork::regStats(), Router::regStats(), and Shader::ShaderStats::ShaderStats().
|
delete |
|
inline |
Set the precision and marks this stat to print at the end of simulation.
| _precision | The new precision |
Definition at line 327 of file statistics.hh.
Referenced by BPredUnit::BPredUnitStats::BPredUnitStats(), EtherDevice::EtherDeviceStats::EtherDeviceStats(), FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats(), BaseCPU::GlobalStats::GlobalStats(), Minor::MinorStats::MinorStats(), Root::RootStats::RootStats(), 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 353 of file statistics.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats(), DefaultDecode< Impl >::DecodeStats::DecodeStats(), EtherDevice::EtherDeviceStats::EtherDeviceStats(), SimpleExecContext::ExecContextStats::ExecContextStats(), DefaultFetch< Impl >::FetchStatGroup::FetchStatGroup(), FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats(), BaseCPU::GlobalStats::GlobalStats(), InstructionQueue< Impl >::IQStats::IQStats(), Minor::MinorStats::MinorStats(), DefaultRename< Impl >::RenameStats::RenameStats(), and Root::RootStats::RootStats().
|
inlineprotected |
Definition at line 223 of file statistics.hh.
|
inline |
Definition at line 291 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 286 of file statistics.hh.
|
inline |
Set the unit of the stat.
| unit | The new unit. |
Definition at line 302 of file statistics.hh.
Referenced by Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::DataWrap().