gem5
|
#include <statistics.hh>
Public Types | |
typedef InfoProxyType< Derived > | Info |
Public Member Functions | |
const Info * | info () const |
DataWrap () | |
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 | |
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 () |
DataWrap (const DataWrap &stat) | |
Copy constructor, copies are not allowed. More... | |
void | operator= (const DataWrap &) |
Can't copy stats. More... | |
Protected Member Functions inherited from Stats::InfoAccess | |
void | setInfo (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 209 of file statistics.hh.
typedef InfoProxyType<Derived> Stats::DataWrap< Derived, InfoProxyType >::Info |
Definition at line 212 of file statistics.hh.
|
inlineprotected |
Copy constructor, copies are not allowed.
Definition at line 235 of file statistics.hh.
|
inline |
Definition at line 243 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 287 of file statistics.hh.
Referenced by Stats::Global::Global(), GpuDispatcher::GpuDispatcher(), StackDistProbe::regStats(), MemFootprintProbe::regStats(), FetchStage::regStats(), Sequencer::regStats(), EtherDevice::regStats(), Profiler::regStats(), MemTest::regStats(), ExecStage::regStats(), BPredUnit::regStats(), LocalMemPipeline::regStats(), CommMonitor::regStats(), BaseKvmCPU::regStats(), AbstractController::regStats(), Minor::MinorStats::regStats(), PowerModelState::regStats(), AlphaISA::TLB::regStats(), ThermalDomain::regStats(), GPUCoalescer::regStats(), Prefetcher::regStats(), RiscvISA::TLB::regStats(), MipsISA::TLB::regStats(), Process::regStats(), ClockDomain::regStats(), GlobalMemPipeline::regStats(), MessageBuffer::regStats(), QueuedPrefetcher::regStats(), CacheMemory::regStats(), Ticked::regStats(), VoltageDomain::regStats(), PowerModel::regStats(), BaseSimpleCPU::regStats(), BasePrefetcher::regStats(), TLBCoalescer::regStats(), FlashDevice::regStats(), BaseTags::regStats(), FALRU::regStats(), PowerISA::TLB::regStats(), ElasticTrace::regStats(), SnoopFilter::regStats(), CopyEngine::regStats(), X86ISA::GpuTLB::regStats(), TrafficGen::regStats(), ClockedObject::regStats(), IdeDisk::regStats(), Sinic::Device::regStats(), AbstractMemory::regStats(), Wavefront::regStats(), ArmISA::TLB::regStats(), ComputeUnit::regStats(), CoherentXBar::regStats(), BaseCache::regStats(), BaseXBar::regStats(), TraceCPU::FixedRetryGen::regStats(), ArmISA::TableWalker::regStats(), TraceCPU::ElasticDataGen::regStats(), UFSHostDevice::regStats(), DRAMCtrl::regStats(), TraceCPU::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 311 of file statistics.hh.
Referenced by StackDistProbe::regStats(), MemFootprintProbe::regStats(), Sequencer::regStats(), Profiler::regStats(), Switch::regStats(), CommMonitor::regStats(), Minor::MinorStats::regStats(), AbstractController::regStats(), Router::regStats(), GarnetNetwork::regStats(), MessageBuffer::regStats(), CacheMemory::regStats(), BaseSimpleCPU::regStats(), FlashDevice::regStats(), BaseTags::regStats(), CopyEngine::regStats(), ClockedObject::regStats(), AbstractMemory::regStats(), BaseCache::regStats(), BaseXBar::regStats(), ArmISA::TableWalker::regStats(), UFSHostDevice::regStats(), and DRAMCtrl::regStats().
|
inlineprotected |
Definition at line 219 of file statistics.hh.
Referenced by 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 226 of file statistics.hh.
|
inline |
Set the name and marks this stat to print at the end of simulation.
name | The new name. |
Definition at line 254 of file statistics.hh.
Referenced by Stats::Global::Global(), GpuDispatcher::GpuDispatcher(), StackDistProbe::regStats(), MemFootprintProbe::regStats(), FetchStage::regStats(), Sequencer::regStats(), EtherDevice::regStats(), Profiler::regStats(), Switch::regStats(), MemTest::regStats(), ExecStage::regStats(), BPredUnit::regStats(), LocalMemPipeline::regStats(), Throttle::regStats(), CommMonitor::regStats(), AbstractController::regStats(), BaseKvmCPU::regStats(), Minor::MinorStats::regStats(), PowerModelState::regStats(), AlphaISA::TLB::regStats(), ThermalDomain::regStats(), Router::regStats(), GarnetNetwork::regStats(), GPUCoalescer::regStats(), RiscvISA::TLB::regStats(), Prefetcher::regStats(), MipsISA::TLB::regStats(), Process::regStats(), ClockDomain::regStats(), GlobalMemPipeline::regStats(), MessageBuffer::regStats(), QueuedPrefetcher::regStats(), CacheMemory::regStats(), Ticked::regStats(), VoltageDomain::regStats(), PowerModel::regStats(), BaseSimpleCPU::regStats(), BasePrefetcher::regStats(), TLBCoalescer::regStats(), FlashDevice::regStats(), BaseTags::regStats(), FALRU::regStats(), PowerISA::TLB::regStats(), ElasticTrace::regStats(), SnoopFilter::regStats(), CopyEngine::regStats(), X86ISA::GpuTLB::regStats(), TrafficGen::regStats(), ClockedObject::regStats(), IdeDisk::regStats(), Sinic::Device::regStats(), AbstractMemory::regStats(), Wavefront::regStats(), ArmISA::TLB::regStats(), ComputeUnit::regStats(), CoherentXBar::regStats(), BaseCache::regStats(), BaseXBar::regStats(), TraceCPU::FixedRetryGen::regStats(), ArmISA::TableWalker::regStats(), TraceCPU::ElasticDataGen::regStats(), UFSHostDevice::regStats(), DRAMCtrl::regStats(), and TraceCPU::regStats().
|
inline |
Definition at line 261 of file statistics.hh.
Referenced by Stats::DataWrapVec< VectorStandardDeviation, VectorDistInfoProxy >::subname().
|
inlineprotected |
Can't copy stats.
Definition at line 240 of file statistics.hh.
|
inline |
Set the precision and marks this stat to print at the end of simulation.
_precision | The new precision |
Definition at line 299 of file statistics.hh.
Referenced by Stats::Global::Global(), EtherDevice::regStats(), BPredUnit::regStats(), Minor::MinorStats::regStats(), AbstractMemory::regStats(), DRAMCtrl::regStats(), and TraceCPU::regStats().
|
inline |
Set the prerequisite stat and marks this stat to print at the end of simulation.
prereq | The prerequisite stat. |
Definition at line 325 of file statistics.hh.
Referenced by Stats::Global::Global(), EtherDevice::regStats(), Minor::MinorStats::regStats(), BaseSimpleCPU::regStats(), and AbstractMemory::regStats().
|
inlineprotected |
Definition at line 215 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 270 of file statistics.hh.
|
inline |
Definition at line 275 of file statistics.hh.