gem5 v24.0.0.0
|
Namespaces | |
namespace | units |
Units for Stats. | |
Classes | |
class | Average |
A stat that calculates the per tick average of a value. More... | |
class | AverageDeviation |
Calculates the per tick mean and variance of the samples. More... | |
class | AverageVector |
A vector of Average stats. More... | |
class | AvgSampleStor |
Templatized storage for distribution that calculates per tick mean and variance. More... | |
class | AvgStor |
Templatized storage and interface to a per-tick average stat. More... | |
struct | BasePrint |
class | BinaryNode |
class | ConstNode |
class | ConstVectorNode |
class | DataWrap |
class | DataWrapVec |
class | DataWrapVec2d |
class | DistBase |
Implementation of a distribution stat. More... | |
struct | DistData |
General container for distribution data. More... | |
class | DistInfo |
class | DistInfoProxy |
struct | DistParams |
The parameters for a distribution stat. More... | |
struct | DistPrint |
class | DistProxy |
class | Distribution |
A simple distribution stat. More... | |
class | DistStor |
Templatized storage and interface for a distribution stat. More... | |
class | Formula |
A formula for statistics that is calculated when printed. More... | |
class | FormulaInfo |
class | FormulaInfoProxy |
class | FormulaNode |
class | FunctorProxy |
class | Group |
Statistics container. More... | |
class | Hdf5 |
class | Histogram |
A simple histogram stat. More... | |
class | HistStor |
Templatized storage and interface for a histogram stat. More... | |
class | Info |
class | InfoAccess |
class | InfoProxy |
class | MethodProxy |
A proxy similar to the FunctorProxy, but allows calling a method of a bound object, instead of a global free-standing function. More... | |
class | Node |
Base class for formula statistic node. More... | |
struct | OpString |
struct | OpString< std::divides< Result > > |
struct | OpString< std::minus< Result > > |
struct | OpString< std::modulus< Result > > |
struct | OpString< std::multiplies< Result > > |
struct | OpString< std::negate< Result > > |
struct | OpString< std::plus< Result > > |
struct | Output |
class | ProxyInfo |
class | SampleStor |
Templatized storage and interface for a distribution that calculates mean and variance. More... | |
class | Scalar |
This is a simple scalar statistic, like a counter. More... | |
class | ScalarBase |
Implementation of a scalar stat. More... | |
class | ScalarInfo |
class | ScalarInfoProxy |
struct | ScalarPrint |
class | ScalarProxy |
A proxy class to access the stat at a given index in a VectorBase stat. More... | |
class | ScalarProxyNode |
class | ScalarStatNode |
class | SparseHistBase |
Implementation of a sparse histogram stat. More... | |
struct | SparseHistData |
Data structure of sparse histogram. More... | |
class | SparseHistInfo |
class | SparseHistInfoProxy |
class | SparseHistogram |
struct | SparseHistPrint |
class | SparseHistStor |
Templatized storage and interface for a sparse histogram stat. More... | |
class | StandardDeviation |
Calculates the mean and variance of all the samples. More... | |
class | StatEvent |
Event to dump and/or reset the statistics. More... | |
class | StatStor |
Templatized storage and interface for a simple scalar stat. More... | |
struct | StorageParams |
class | SumNode |
class | Temp |
Helper class to construct formula node trees. More... | |
class | Text |
class | UnaryNode |
class | Value |
class | ValueBase |
class | ValueProxy |
class | Vector |
A vector of scalar stats. More... | |
class | Vector2d |
A 2-Dimensional vecto of scalar stats. More... | |
class | Vector2dBase |
class | Vector2dInfo |
class | Vector2dInfoProxy |
class | VectorAverageDeviation |
This is a vector of AverageDeviation stats. More... | |
class | VectorBase |
Implementation of a vector of stats. More... | |
class | VectorDistBase |
class | VectorDistInfo |
class | VectorDistInfoProxy |
class | VectorDistribution |
A vector of distributions. More... | |
class | VectorInfo |
class | VectorInfoProxy |
struct | VectorPrint |
class | VectorProxy |
class | VectorStandardDeviation |
This is a vector of StandardDeviation stats. More... | |
class | VectorStatNode |
Typedefs | |
typedef std::shared_ptr< Node > | NodePtr |
Shared pointer to a function Node. | |
typedef void(* | Handler) () |
Register reset and dump handlers. | |
typedef std::map< const void *, Info * > | MapType |
typedef uint16_t | FlagsType |
typedef gem5::Flags< FlagsType > | Flags |
typedef std::map< std::string, Info * > | NameMapType |
typedef double | Counter |
All counters are of 64-bit values. | |
typedef std::vector< Counter > | VCounter |
vector of counters. | |
typedef std::map< Counter, int > | MCounter |
map of counters | |
typedef std::numeric_limits< Counter > | CounterLimits |
typedef double | Result |
All results are doubles. | |
typedef std::vector< Result > | VResult |
vector of results. | |
typedef unsigned int | size_type |
typedef unsigned int | off_type |
Enumerations | |
enum | DistType { Deviation , Dist , Hist } |
Functions | |
std::list< Info * > & | statsList () |
MapType & | statsMap () |
void | registerHandlers (Handler reset_handler, Handler dump_handler) |
void | processResetQueue () |
Process all the callbacks in the reset callbacks queue. | |
void | processDumpQueue () |
Process all the callbacks in the dump callbacks queue. | |
void | registerResetCallback (const std::function< void()> &callback) |
Register a callback that should be called whenever statistics are reset. | |
bool | enabled () |
void | enable () |
void | dump () |
Dump all statistics data to the registered outputs. | |
void | reset () |
const Info * | resolve (const std::string &name) |
void | registerDumpCallback (const std::function< void()> &callback) |
Register a callback that should be called whenever statistics are about to be dumped. | |
Temp | operator+ (Temp l, Temp r) |
Temp | operator- (Temp l, Temp r) |
Temp | operator* (Temp l, Temp r) |
Temp | operator/ (Temp l, Temp r) |
Temp | operator- (Temp l) |
template<typename T > | |
Temp | constant (T val) |
template<typename T > | |
Temp | constantVector (T val) |
Temp | sum (Temp val) |
std::unique_ptr< Output > | initHDF5 (const std::string &filename, unsigned chunking, bool desc, bool formulas) |
NameMapType & | nameMap () |
bool | validateStatName (const std::string &name) |
std::string | ValueToString (Result value, int precision) |
Output * | initText (const std::string &filename, bool desc, bool spaces) |
void | pythonDump () |
void | pythonReset () |
void | initSimStats () |
void | schedStatEvent (bool dump, bool reset, Tick when=curTick(), Tick repeat=0) |
Schedule statistics dumping. | |
void | periodicStatDump (Tick period=0) |
Schedule periodic statistics dumping. | |
void | updateEvents () |
Update the events after resuming from a checkpoint. | |
void | registerPythonStatsHandlers () |
Register py_... functions as the statistics handlers. | |
Variables | |
Handler | resetHandler = NULL |
Handler | dumpHandler = NULL |
CallbackQueue | dumpQueue |
CallbackQueue | resetQueue |
bool | _enabled = false |
int | debug_break_id = -1 |
const FlagsType | none = 0x0000 |
Nothing extra to print. | |
const FlagsType | init = 0x0001 |
This Stat is Initialized. | |
const FlagsType | display = 0x0002 |
Print this stat. | |
const FlagsType | total = 0x0010 |
Print the total. | |
const FlagsType | pdf = 0x0020 |
Print the percent of the total that this entry represents. | |
const FlagsType | cdf = 0x0040 |
Print the cumulative percentage of total upto this entry. | |
const FlagsType | dist = 0x0080 |
Print the distribution. | |
const FlagsType | nozero = 0x0100 |
Don't print if this is zero. | |
const FlagsType | nonan = 0x0200 |
Don't print if this is NAN. | |
const FlagsType | oneline = 0x0400 |
Print all values on a single line. | |
const FlagsType | __reserved = init | display |
Mask of flags that can't be set directly. | |
GlobalEvent * | dumpEvent |
typedef double gem5::statistics::Counter |
typedef std::numeric_limits<Counter> gem5::statistics::CounterLimits |
typedef gem5::Flags<FlagsType> gem5::statistics::Flags |
typedef uint16_t gem5::statistics::FlagsType |
typedef void(* gem5::statistics::Handler) () |
Register reset and dump handlers.
These are the functions which will actually perform the whole statistics reset/dump actions including processing the reset/dump callbacks
Definition at line 2894 of file statistics.hh.
typedef std::map<const void *, Info *> gem5::statistics::MapType |
Definition at line 2922 of file statistics.hh.
typedef std::map<Counter, int> gem5::statistics::MCounter |
typedef std::map<std::string, Info *> gem5::statistics::NameMapType |
typedef std::shared_ptr<Node> gem5::statistics::NodePtr |
Shared pointer to a function Node.
Definition at line 1550 of file statistics.hh.
typedef unsigned int gem5::statistics::off_type |
typedef double gem5::statistics::Result |
typedef unsigned int gem5::statistics::size_type |
typedef std::vector<Counter> gem5::statistics::VCounter |
typedef std::vector<Result> gem5::statistics::VResult |
|
inline |
Definition at line 2864 of file statistics.hh.
References gem5::X86ISA::val.
Referenced by gem5::SimpleExecContext::ExecContextStats::ExecContextStats(), gem5::BaseTags::BaseTagStats::regStats(), gem5::ruby::SimpleNetwork::regStats(), gem5::ruby::Switch::regStats(), and gem5::ruby::Throttle::ThrottleStats::ThrottleStats().
|
inline |
Definition at line 2871 of file statistics.hh.
References gem5::X86ISA::val.
void gem5::statistics::dump | ( | ) |
Dump all statistics data to the registered outputs.
Definition at line 300 of file statistics.cc.
References dumpHandler, and fatal.
Referenced by gem5::debugDumpStats(), gem5::statistics::StatEvent::process(), gem5::DistEtherLink::RxLink::rxDone(), schedStatEvent(), TEST(), gem5::DistEtherLink::TxLink::txDone(), gem5::EtherLink::Link::txDone(), and gem5::DVFSHandler::UpdateEvent::updatePerfLevel().
void gem5::statistics::enable | ( | ) |
Definition at line 291 of file statistics.cc.
References _enabled, and fatal.
Referenced by gem5::pybind_init_stats().
bool gem5::statistics::enabled | ( | ) |
Definition at line 285 of file statistics.cc.
References _enabled.
Referenced by gem5::System::_getRequestorId(), gem5::IGbE::TxDescCache::completionWriteback(), gem5::Iris::ThreadContext::initFromIrisInstance(), gem5::Plic::post(), gem5::pybind_init_stats(), TEST_F(), and gem5::Plic::writePriority().
std::unique_ptr< Output > gem5::statistics::initHDF5 | ( | const std::string & | filename, |
unsigned | chunking, | ||
bool | desc, | ||
bool | formulas ) |
Definition at line 331 of file hdf5.cc.
References gem5::OutputDirectory::resolve(), and gem5::simout.
Referenced by gem5::pybind_init_stats().
void gem5::statistics::initSimStats | ( | ) |
Definition at line 66 of file stat_control.cc.
Referenced by gem5::pybind_init_stats().
Output * gem5::statistics::initText | ( | const std::string & | filename, |
bool | desc, | ||
bool | spaces ) |
Definition at line 804 of file text.cc.
References gem5::statistics::Text::descriptions, gem5::statistics::Text::enableUnits, gem5::OutputDirectory::findOrCreate(), gem5::statistics::Text::open(), gem5::simout, gem5::statistics::Text::spaces, and gem5::OutputStream::stream().
Referenced by gem5::pybind_init_stats().
NameMapType & gem5::statistics::nameMap | ( | ) |
Definition at line 2845 of file statistics.hh.
References gem5::MipsISA::l, and gem5::MipsISA::r.
Definition at line 2833 of file statistics.hh.
References gem5::MipsISA::l, and gem5::MipsISA::r.
Definition at line 2857 of file statistics.hh.
References gem5::MipsISA::l.
Definition at line 2839 of file statistics.hh.
References gem5::MipsISA::l, and gem5::MipsISA::r.
Definition at line 2851 of file statistics.hh.
References gem5::MipsISA::l, and gem5::MipsISA::r.
void gem5::statistics::periodicStatDump | ( | Tick | period = 0 | ) |
Schedule periodic statistics dumping.
This allows you to dump and reset the built-in statistics on a regular basis, thereby allowing the extraction of temporal trends in the data.
period | The period at which the dumping should occur. |
Definition at line 116 of file stat_control.cc.
References gem5::curTick(), gem5::BaseGlobalEvent::deschedule(), dumpEvent, schedStatEvent(), and gem5::BaseGlobalEvent::scheduled().
Referenced by gem5::pybind_init_stats().
void gem5::statistics::processDumpQueue | ( | ) |
Process all the callbacks in the dump callbacks queue.
Definition at line 271 of file statistics.cc.
References dumpQueue, and gem5::CallbackQueue::process().
Referenced by gem5::pybind_init_stats().
void gem5::statistics::processResetQueue | ( | ) |
Process all the callbacks in the reset callbacks queue.
Definition at line 265 of file statistics.cc.
References gem5::CallbackQueue::process(), and resetQueue.
Referenced by gem5::pybind_init_stats().
void gem5::statistics::pythonDump | ( | ) |
Definition at line 92 of file stats.cc.
References gem5::ArmISA::m.
Referenced by registerPythonStatsHandlers().
void gem5::statistics::pythonReset | ( | ) |
Definition at line 99 of file stats.cc.
References gem5::ArmISA::m.
Referenced by registerPythonStatsHandlers().
void gem5::statistics::registerDumpCallback | ( | const std::function< void()> & | callback | ) |
Register a callback that should be called whenever statistics are about to be dumped.
Definition at line 329 of file statistics.cc.
References dumpQueue.
Referenced by gem5::ruby::AbstractController::AbstractController(), gem5::ruby::Network::Network(), and gem5::ruby::RubySystem::RubySystem().
Definition at line 255 of file statistics.cc.
References dumpHandler, and resetHandler.
Referenced by registerPythonStatsHandlers().
void gem5::statistics::registerPythonStatsHandlers | ( | ) |
Register py_... functions as the statistics handlers.
Definition at line 51 of file stat_register.cc.
References pythonDump(), pythonReset(), and registerHandlers().
Referenced by gem5::pybind_init_stats().
void gem5::statistics::registerResetCallback | ( | const std::function< void()> & | callback | ) |
Register a callback that should be called whenever statistics are reset.
Definition at line 277 of file statistics.cc.
References resetQueue.
Referenced by gem5::FunctionProfile::FunctionProfile(), and gem5::MemFootprintProbe::MemFootprintProbeStats::MemFootprintProbeStats().
void gem5::statistics::reset | ( | ) |
Definition at line 309 of file statistics.cc.
References fatal, and resetHandler.
Referenced by gem5::IGbE::DescCache< T >::areaChanged(), gem5::BaseCache::CacheStats::CacheStats(), gem5::statistics::DistStor::DistStor(), gem5::statistics::HistStor::HistStor(), gem5::NoMaliGpu::init(), gem5::statistics::StatEvent::process(), gem5::replacement_policy::Base::reset(), schedStatEvent(), gem5::statistics::SparseHistStor::SparseHistStor(), gem5::ArmISA::ISA::unserialize(), gem5::DVFSHandler::UpdateEvent::updatePerfLevel(), gem5::IdeDisk::updateState(), and gem5::IGbE::DescCache< T >::~DescCache().
const Info * gem5::statistics::resolve | ( | const std::string & | name | ) |
Definition at line 318 of file statistics.cc.
References name(), nameMap(), gem5::statistics::Group::resolveStat(), and gem5::Root::root().
Referenced by gem5::MathExprPowerModel::startup().
void gem5::statistics::schedStatEvent | ( | bool | dump, |
bool | reset, | ||
Tick | when = curTick(), | ||
Tick | repeat = 0 ) |
Schedule statistics dumping.
This allows you to dump and/or reset the built-in statistics. This can either be done once, or it can be done on a regular basis.
dump | Set true to dump the statistics. |
reset | Set true to reset the statistics. |
when | When the dump and/or reset should occur. |
repeat | How often the event should repeat. Set 0 to disable repeating. |
Definition at line 106 of file stat_control.cc.
References dump(), dumpEvent, reset(), and gem5::simQuantum.
Referenced by gem5::doSimLoop(), gem5::pseudo_inst::dumpresetstats(), gem5::pseudo_inst::dumpstats(), periodicStatDump(), gem5::ArmISA::DumpStats::process(), gem5::statistics::StatEvent::process(), gem5::pybind_init_stats(), and gem5::pseudo_inst::resetstats().
Definition at line 61 of file statistics.cc.
Referenced by gem5::pybind_init_stats(), and gem5::statistics::InfoAccess::setInfo().
MapType & gem5::statistics::statsMap | ( | ) |
Definition at line 68 of file statistics.cc.
Referenced by gem5::statistics::InfoAccess::info(), gem5::statistics::InfoAccess::info(), and gem5::statistics::InfoAccess::setInfo().
Definition at line 2877 of file statistics.hh.
References gem5::X86ISA::val.
void gem5::statistics::updateEvents | ( | ) |
Update the events after resuming from a checkpoint.
When resuming from a checkpoint, curTick will be updated, and any already scheduled events can end up scheduled in the past. This function checks if the dumpEvent is scheduled in the past, and reschedules it appropriately.
Definition at line 146 of file stat_control.cc.
References gem5::curTick(), dumpEvent, gem5::BaseGlobalEvent::reschedule(), gem5::BaseGlobalEvent::scheduled(), and gem5::BaseGlobalEvent::when().
Referenced by gem5::pybind_init_stats().
bool gem5::statistics::validateStatName | ( | const std::string & | name | ) |
Definition at line 96 of file info.cc.
References gem5::ArmISA::c, name(), gem5::tokenize(), and gem5::PowerISA::vec.
Referenced by gem5::statistics::Info::setName().
std::string gem5::statistics::ValueToString | ( | Result | value, |
int | precision ) |
Definition at line 181 of file text.cc.
References std::isnan(), and gem5::X86ISA::val.
Referenced by gem5::statistics::ScalarPrint::operator()().
bool gem5::statistics::_enabled = false |
Definition at line 282 of file statistics.cc.
const FlagsType gem5::statistics::cdf = 0x0040 |
Print the cumulative percentage of total upto this entry.
Definition at line 63 of file info.hh.
Referenced by gem5::statistics::VectorPrint::operator()().
int gem5::statistics::debug_break_id = -1 |
Definition at line 62 of file info.cc.
Referenced by gem5::statistics::Info::Info().
const FlagsType gem5::statistics::display = 0x0002 |
Print this stat.
Definition at line 57 of file info.hh.
Referenced by gem5::statistics::Info::baseCheck(), gem5::statistics::DataWrap< Derived, InfoProxyType >::DataWrap(), gem5::statistics::DataWrap< Derived, InfoProxyType >::name(), gem5::statistics::Text::noOutput(), TEST(), and TEST().
const FlagsType gem5::statistics::dist = 0x0080 |
Print the distribution.
Definition at line 65 of file info.hh.
Referenced by gem5::ruby::CacheMemory::CacheMemoryStats::CacheMemoryStats(), gem5::BaseCPU::CommitCPUStats::CommitCPUStats(), gem5::o3::Commit::CommitStats::CommitStats(), gem5::ruby::Topology::createLinks(), gem5::ruby::HTMSequencer::HTMSequencer(), gem5::o3::InstructionQueue::IQStats::IQStats(), gem5::ruby::Topology::link_is_shortest_path_to_node(), gem5::Random::random(), gem5::Random::random(), gem5::ruby::Topology::shortest_path(), gem5::ruby::Topology::shortest_path_to_node(), and gem5::ArmISA::TableWalker::TableWalkerStats::TableWalkerStats().
GlobalEvent* gem5::statistics::dumpEvent |
Definition at line 63 of file stat_control.cc.
Referenced by periodicStatDump(), schedStatEvent(), and updateEvents().
Handler gem5::statistics::dumpHandler = NULL |
Definition at line 252 of file statistics.cc.
Referenced by dump(), and registerHandlers().
CallbackQueue gem5::statistics::dumpQueue |
Definition at line 261 of file statistics.cc.
Referenced by processDumpQueue(), and registerDumpCallback().
const FlagsType gem5::statistics::init = 0x0001 |
This Stat is Initialized.
Definition at line 55 of file info.hh.
Referenced by gem5::statistics::Info::baseCheck(), gem5::fastmodel::SCGIC::Terminator::countUnbound(), gem5::statistics::DistPrint::DistPrint(), gem5::statistics::DistPrint::DistPrint(), gem5::o3::UnifiedRenameMap::init(), gem5::Random::Random(), gem5::Random::Random(), gem5::TraceGen::InputStream::reset(), gem5::statistics::InfoAccess::setInit(), gem5::statistics::SparseHistPrint::SparseHistPrint(), gem5::fastmodel::SCGIC::Terminator::Terminator(), TEST(), TEST(), TEST(), and gem5::ruby::Throttle::ThrottleStats::ThrottleStats().
const FlagsType gem5::statistics::nonan = 0x0200 |
Don't print if this is NAN.
Definition at line 69 of file info.hh.
Referenced by gem5::ruby::CacheMemory::CacheMemoryStats::CacheMemoryStats(), gem5::ruby::HTMSequencer::HTMSequencer(), gem5::MemFootprintProbe::MemFootprintProbeStats::MemFootprintProbeStats(), gem5::ruby::MessageBuffer::MessageBuffer(), gem5::statistics::ScalarPrint::operator()(), gem5::BaseCache::CacheStats::regStats(), gem5::BaseTags::BaseTagStats::regStats(), gem5::BaseXBar::regStats(), gem5::compression::Base::BaseStats::regStats(), gem5::memory::AbstractMemory::MemStats::regStats(), gem5::memory::MemCtrl::CtrlStats::regStats(), gem5::memory::qos::MemCtrl::MemCtrlStats::regStats(), gem5::PowerState::PowerStateStats::regStats(), gem5::BaseCache::CacheCmdStats::regStatsFromParent(), and gem5::ArmISA::TableWalker::TableWalkerStats::TableWalkerStats().
const FlagsType gem5::statistics::none = 0x0000 |
Nothing extra to print.
Definition at line 53 of file info.hh.
Referenced by gem5::Wavefront::exec(), gem5::FlashDevice::FlashDeviceStats::FlashDeviceStats(), and gem5::UFSHostDevice::UFSHostDeviceStats::UFSHostDeviceStats().
const FlagsType gem5::statistics::nozero = 0x0100 |
Don't print if this is zero.
Definition at line 67 of file info.hh.
Referenced by gem5::branch_prediction::BranchTargetBuffer::BranchTargetBufferStats::BranchTargetBufferStats(), gem5::ruby::CacheMemory::CacheMemoryStats::CacheMemoryStats(), gem5::BaseCPU::CommitCPUStats::CommitCPUStats(), gem5::ruby::AbstractController::ControllerStats::ControllerStats(), gem5::BaseCPU::ExecuteCPUStats::ExecuteCPUStats(), gem5::HDLcd::HDLcdStats::HDLcdStats(), gem5::ruby::HTMSequencer::HTMSequencer(), gem5::o3::LSQUnit::LSQUnitStats::LSQUnitStats(), gem5::MemFootprintProbe::MemFootprintProbeStats::MemFootprintProbeStats(), gem5::ruby::MessageBuffer::MessageBuffer(), gem5::CommMonitor::MonitorStats::MonitorStats(), gem5::BaseXBar::Layer< ResponsePort, RequestPort >::occupyLayer(), gem5::statistics::DistPrint::operator()(), gem5::statistics::ScalarPrint::operator()(), gem5::statistics::VectorPrint::operator()(), gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::PerMachineTypeStats(), gem5::ruby::Profiler::ProfilerStats::PerRequestTypeMachineTypeStats::PerRequestTypeMachineTypeStats(), gem5::ruby::Profiler::ProfilerStats::PerRequestTypeStats::PerRequestTypeStats(), gem5::ruby::Profiler::ProfilerStats::ProfilerStats(), gem5::pybind_init_stats(), gem5::BaseCache::CacheStats::regStats(), gem5::BaseTags::BaseTagStats::regStats(), gem5::BaseXBar::regStats(), gem5::compression::Base::BaseStats::regStats(), gem5::memory::AbstractMemory::MemStats::regStats(), gem5::memory::DRAMInterface::DRAMStats::regStats(), gem5::memory::MemCtrl::CtrlStats::regStats(), gem5::memory::NVMInterface::NVMStats::regStats(), gem5::memory::qos::MemCtrl::MemCtrlStats::regStats(), gem5::PowerDomain::PowerDomainStats::regStats(), gem5::PowerState::PowerStateStats::regStats(), gem5::ruby::garnet::GarnetNetwork::regStats(), gem5::ruby::garnet::Router::regStats(), gem5::ruby::SimpleNetwork::regStats(), gem5::ruby::Switch::regStats(), gem5::BaseCache::CacheCmdStats::regStatsFromParent(), gem5::StackDistProbe::StackDistProbeStats::StackDistProbeStats(), gem5::prefetch::Base::StatGroup::StatGroup(), gem5::ArmISA::TableWalker::TableWalkerStats::TableWalkerStats(), gem5::ruby::Throttle::ThrottleStats::ThrottleStats(), gem5::ArmISA::TLB::TlbStats::TlbStats(), and gem5::UFSHostDevice::UFSHostDeviceStats::UFSHostDeviceStats().
const FlagsType gem5::statistics::oneline = 0x0400 |
Print all values on a single line.
Useful only for histograms.
Definition at line 71 of file info.hh.
Referenced by gem5::ComputeUnit::ComputeUnitStats::ComputeUnitStats(), gem5::statistics::DistPrint::operator()(), gem5::statistics::VectorPrint::operator()(), gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::PerMachineTypeStats(), gem5::ruby::Profiler::ProfilerStats::PerRequestTypeMachineTypeStats::PerRequestTypeMachineTypeStats(), gem5::ruby::Profiler::ProfilerStats::PerRequestTypeStats::PerRequestTypeStats(), gem5::ruby::Profiler::ProfilerStats::ProfilerStats(), gem5::ruby::garnet::GarnetNetwork::regStats(), and gem5::Shader::ShaderStats::ShaderStats().
const FlagsType gem5::statistics::pdf = 0x0020 |
Print the percent of the total that this entry represents.
Definition at line 61 of file info.hh.
Referenced by gem5::branch_prediction::BPredUnit::BPredUnitStats::BPredUnitStats(), gem5::branch_prediction::BranchTargetBuffer::BranchTargetBufferStats::BranchTargetBufferStats(), gem5::ruby::CacheMemory::CacheMemoryStats::CacheMemoryStats(), gem5::BaseCPU::CommitCPUStats::CommitCPUStats(), gem5::o3::Commit::CommitStats::CommitStats(), gem5::ComputeUnit::ComputeUnitStats::ComputeUnitStats(), gem5::o3::Fetch::FetchStatGroup::FetchStatGroup(), gem5::FlashDevice::FlashDeviceStats::FlashDeviceStats(), gem5::ruby::HTMSequencer::HTMSequencer(), gem5::o3::InstructionQueue::IQStats::IQStats(), gem5::CommMonitor::MonitorStats::MonitorStats(), gem5::statistics::VectorPrint::operator()(), gem5::ruby::Profiler::ProfilerStats::PerMachineTypeStats::PerMachineTypeStats(), gem5::ruby::Profiler::ProfilerStats::PerRequestTypeMachineTypeStats::PerRequestTypeMachineTypeStats(), gem5::ruby::Profiler::ProfilerStats::PerRequestTypeStats::PerRequestTypeStats(), gem5::ruby::Profiler::ProfilerStats::ProfilerStats(), gem5::PowerState::PowerStateStats::regStats(), gem5::ruby::garnet::GarnetNetwork::regStats(), gem5::Shader::ShaderStats::ShaderStats(), gem5::SMMUv3BaseCache::SMMUv3BaseCacheStats::SMMUv3BaseCacheStats(), gem5::SMMUv3::SMMUv3Stats::SMMUv3Stats(), gem5::StackDistProbe::StackDistProbeStats::StackDistProbeStats(), gem5::ArmISA::TableWalker::TableWalkerStats::TableWalkerStats(), gem5::UFSHostDevice::UFSHostDeviceStats::UFSHostDeviceStats(), and gem5::WalkCache::WalkCacheStats::WalkCacheStats().
Handler gem5::statistics::resetHandler = NULL |
Definition at line 251 of file statistics.cc.
Referenced by registerHandlers(), and reset().
CallbackQueue gem5::statistics::resetQueue |
Definition at line 262 of file statistics.cc.
Referenced by processResetQueue(), and registerResetCallback().
const FlagsType gem5::statistics::total = 0x0010 |
Print the total.
Definition at line 59 of file info.hh.
Referenced by gem5::branch_prediction::BPredUnit::BPredUnitStats::BPredUnitStats(), gem5::branch_prediction::BranchTargetBuffer::BranchTargetBufferStats::BranchTargetBufferStats(), gem5::ruby::CacheMemory::CacheMemoryStats::CacheMemoryStats(), gem5::ruby::MN_TBEStorage< RetryEntry >::capacity(), gem5::PacketFifo::check(), gem5::BaseCPU::CommitCPUStats::CommitCPUStats(), gem5::o3::Commit::CommitStats::CommitStats(), gem5::CopyEngine::CopyEngineStats::CopyEngineStats(), gem5::o3::ROB::countInsts(), gem5::o3::IEW::IEWStats::ExecutedInstStats::ExecutedInstStats(), gem5::minor::Fetch2::Fetch2Stats::Fetch2Stats(), gem5::BaseCPU::FetchCPUStats::FetchCPUStats(), gem5::o3::LSQ::getCount(), gem5::prefetch::Queued::getMaxPermittedPrefetches(), gem5::ruby::HTMSequencer::HTMSequencer(), gem5::o3::IEW::IEWStats::IEWStats(), gem5::o3::InstructionQueue::IQIOStats::IQIOStats(), gem5::o3::InstructionQueue::IQStats::IQStats(), gem5::o3::LSQ::numFreeLoadEntries(), gem5::o3::LSQ::numFreeStoreEntries(), gem5::o3::LSQ::numLoads(), gem5::BaseCPU::numSimulatedInsts(), gem5::BaseCPU::numSimulatedOps(), gem5::o3::LSQ::numStores(), gem5::statistics::DistPrint::operator()(), gem5::statistics::VectorPrint::operator()(), gem5::BaseCache::CacheStats::regStats(), gem5::BaseTags::BaseTagStats::regStats(), gem5::BaseXBar::regStats(), gem5::compression::Base::BaseStats::regStats(), gem5::memory::AbstractMemory::MemStats::regStats(), gem5::ruby::garnet::GarnetNetwork::regStats(), gem5::BaseCache::CacheCmdStats::regStatsFromParent(), gem5::o3::Rename::RenameStats::RenameStats(), gem5::ruby::MN_TBEStorage< RetryEntry >::reserved(), gem5::ruby::MN_TBEStorage< RetryEntry >::size(), gem5::prefetch::Base::StatGroup::StatGroup(), gem5::ArmISA::TableWalker::TableWalkerStats::TableWalkerStats(), TEST(), TEST(), gem5::o3::CPU::totalInsts(), gem5::o3::CPU::totalOps(), gem5::statistics::ScalarPrint::update(), and gem5::statistics::Text::visit().