gem5  v21.1.0.2
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
gem5::statistics Namespace Reference

Namespaces

 units
 

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< NodeNodePtr
 Shared pointer to a function Node. More...
 
typedef void(* Handler) ()
 Register reset and dump handlers. More...
 
typedef std::map< const void *, Info * > MapType
 
typedef uint16_t FlagsType
 
typedef gem5::Flags< FlagsTypeFlags
 
typedef std::map< std::string, Info * > NameMapType
 
typedef double Counter
 All counters are of 64-bit values. More...
 
typedef std::vector< CounterVCounter
 vector of counters. More...
 
typedef std::map< Counter, int > MCounter
 map of counters More...
 
typedef std::numeric_limits< CounterCounterLimits
 
typedef double Result
 All results are doubles. More...
 
typedef std::vector< ResultVResult
 vector of results. More...
 
typedef unsigned int size_type
 
typedef unsigned int off_type
 

Enumerations

enum  DistType { Deviation, Dist, Hist }
 

Functions

std::list< Info * > & statsList ()
 
MapTypestatsMap ()
 
void registerHandlers (Handler reset_handler, Handler dump_handler)
 
void processResetQueue ()
 Process all the callbacks in the reset callbacks queue. More...
 
void processDumpQueue ()
 Process all the callbacks in the dump callbacks queue. More...
 
void registerResetCallback (const std::function< void()> &callback)
 Register a callback that should be called whenever statistics are reset. More...
 
bool enabled ()
 
void enable ()
 
void dump ()
 Dump all statistics data to the registered outputs. More...
 
void reset ()
 
const Inforesolve (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. More...
 
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< OutputinitHDF5 (const std::string &filename, unsigned chunking, bool desc, bool formulas)
 
NameMapTypenameMap ()
 
bool validateStatName (const std::string &name)
 
std::string ValueToString (Result value, int precision)
 
OutputinitText (const std::string &filename, bool desc, bool spaces)
 
 GEM5_DEPRECATED_NAMESPACE (Units, units)
 Units for Stats. More...
 
void pythonDump ()
 
void pythonReset ()
 
void initSimStats ()
 
void schedStatEvent (bool dump, bool reset, Tick when=curTick(), Tick repeat=0)
 Schedule statistics dumping. More...
 
void periodicStatDump (Tick period=0)
 Schedule periodic statistics dumping. More...
 
void updateEvents ()
 Update the events after resuming from a checkpoint. More...
 
void registerPythonStatsHandlers ()
 Register py_... More...
 

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. More...
 
const FlagsType init = 0x0001
 This Stat is Initialized. More...
 
const FlagsType display = 0x0002
 Print this stat. More...
 
const FlagsType total = 0x0010
 Print the total. More...
 
const FlagsType pdf = 0x0020
 Print the percent of the total that this entry represents. More...
 
const FlagsType cdf = 0x0040
 Print the cumulative percentage of total upto this entry. More...
 
const FlagsType dist = 0x0080
 Print the distribution. More...
 
const FlagsType nozero = 0x0100
 Don't print if this is zero. More...
 
const FlagsType nonan = 0x0200
 Don't print if this is NAN. More...
 
const FlagsType oneline = 0x0400
 Print all values on a single line. More...
 
const FlagsType __reserved = init | display
 Mask of flags that can't be set directly. More...
 
GlobalEventdumpEvent
 

Typedef Documentation

◆ Counter

typedef double gem5::statistics::Counter

All counters are of 64-bit values.

Definition at line 47 of file types.hh.

◆ CounterLimits

typedef std::numeric_limits<Counter> gem5::statistics::CounterLimits

Definition at line 53 of file types.hh.

◆ Flags

Definition at line 51 of file info.hh.

◆ FlagsType

typedef uint16_t gem5::statistics::FlagsType

Definition at line 50 of file info.hh.

◆ Handler

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 2892 of file statistics.hh.

◆ MapType

typedef std::map<const void *, Info *> gem5::statistics::MapType

Definition at line 2920 of file statistics.hh.

◆ MCounter

typedef std::map<Counter, int> gem5::statistics::MCounter

map of counters

Definition at line 51 of file types.hh.

◆ NameMapType

typedef std::map<std::string, Info *> gem5::statistics::NameMapType

Definition at line 258 of file info.hh.

◆ NodePtr

typedef std::shared_ptr<Node> gem5::statistics::NodePtr

Shared pointer to a function Node.

Definition at line 1548 of file statistics.hh.

◆ off_type

typedef unsigned int gem5::statistics::off_type

Definition at line 61 of file types.hh.

◆ Result

typedef double gem5::statistics::Result

All results are doubles.

Definition at line 56 of file types.hh.

◆ size_type

typedef unsigned int gem5::statistics::size_type

Definition at line 60 of file types.hh.

◆ VCounter

vector of counters.

Definition at line 49 of file types.hh.

◆ VResult

vector of results.

Definition at line 58 of file types.hh.

Enumeration Type Documentation

◆ DistType

Enumerator
Deviation 
Dist 
Hist 

Definition at line 63 of file types.hh.

Function Documentation

◆ constant()

template<typename T >
Temp gem5::statistics::constant ( val)
inline

◆ constantVector()

template<typename T >
Temp gem5::statistics::constantVector ( val)
inline

Definition at line 2869 of file statistics.hh.

References gem5::X86ISA::val.

◆ dump()

void gem5::statistics::dump ( )

◆ enable()

void gem5::statistics::enable ( )

Definition at line 286 of file statistics.cc.

References _enabled, and fatal.

Referenced by gem5::pybind_init_stats().

◆ enabled()

bool gem5::statistics::enabled ( )

◆ GEM5_DEPRECATED_NAMESPACE()

gem5::statistics::GEM5_DEPRECATED_NAMESPACE ( Units  ,
units   
)

Units for Stats.

This header file provides an ability to associate a stat object with a specific unit.

The supported units are:

  • Cycle: represents clock cycles.
  • Tick: represents the count of gem5's Tick.
  • Second: represents the base unit of time defined by SI.
  • Bit: represents the number of computer bits.
  • Byte: represents 8 bits.
  • Volt: a SI derived unit measuring potential difference.
  • Joule: represents joule, a unit of energy, as defined by SI.
  • Watt: represents 1 watt, where 1 watt = 1 joule / second.
  • Celsius: represents 1 Celsius degree as defined by SI.
  • Rate(T1, T2): represents the unit of a quantity of T1 divided by a quantity of T2.
  • Ratio: represents the unit of a quantity of unit T divided by a quantity of T.
  • Count: represents the count of a quantity that is not defined above.
  • Unspecified: the unit of the stat is unspecified.

Each unit class is intended to be a singleton, which means only each unit class has at most one object of that class exist throughout the program. Therefore, copy constructors and assignment operators are deleted functions.

When any of the following criteria is met, a new unit should be added,

  • The new unit is significant enough to be not included in Count unit. (e.g. Cycle unit, Tick unit)

◆ initHDF5()

std::unique_ptr< Output > gem5::statistics::initHDF5 ( const std::string &  filename,
unsigned  chunking,
bool  desc,
bool  formulas 
)

Definition at line 328 of file hdf5.cc.

References gem5::OutputDirectory::resolve(), and gem5::simout.

Referenced by gem5::pybind_init_stats().

◆ initSimStats()

void gem5::statistics::initSimStats ( )

Definition at line 67 of file stat_control.cc.

Referenced by gem5::pybind_init_stats().

◆ initText()

Output * gem5::statistics::initText ( const std::string &  filename,
bool  desc,
bool  spaces 
)

◆ nameMap()

NameMapType & gem5::statistics::nameMap ( )

Definition at line 66 of file info.cc.

Referenced by resolve(), gem5::statistics::Info::setName(), and TEST().

◆ operator*()

Temp gem5::statistics::operator* ( Temp  l,
Temp  r 
)
inline

Definition at line 2843 of file statistics.hh.

References gem5::MipsISA::l, and gem5::MipsISA::r.

◆ operator+()

Temp gem5::statistics::operator+ ( Temp  l,
Temp  r 
)
inline

Definition at line 2831 of file statistics.hh.

References gem5::MipsISA::l, and gem5::MipsISA::r.

◆ operator-() [1/2]

Temp gem5::statistics::operator- ( Temp  l)
inline

Definition at line 2855 of file statistics.hh.

References gem5::MipsISA::l.

◆ operator-() [2/2]

Temp gem5::statistics::operator- ( Temp  l,
Temp  r 
)
inline

Definition at line 2837 of file statistics.hh.

References gem5::MipsISA::l, and gem5::MipsISA::r.

◆ operator/()

Temp gem5::statistics::operator/ ( Temp  l,
Temp  r 
)
inline

Definition at line 2849 of file statistics.hh.

References gem5::MipsISA::l, and gem5::MipsISA::r.

◆ periodicStatDump()

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.

Parameters
periodThe period at which the dumping should occur.

Definition at line 117 of file stat_control.cc.

References gem5::curTick(), gem5::BaseGlobalEvent::deschedule(), dumpEvent, schedStatEvent(), and gem5::BaseGlobalEvent::scheduled().

Referenced by gem5::pybind_init_stats().

◆ processDumpQueue()

void gem5::statistics::processDumpQueue ( )

Process all the callbacks in the dump callbacks queue.

Definition at line 266 of file statistics.cc.

References dumpQueue, and gem5::CallbackQueue::process().

Referenced by gem5::pybind_init_stats().

◆ processResetQueue()

void gem5::statistics::processResetQueue ( )

Process all the callbacks in the reset callbacks queue.

Definition at line 260 of file statistics.cc.

References gem5::CallbackQueue::process(), and resetQueue.

Referenced by gem5::pybind_init_stats().

◆ pythonDump()

void gem5::statistics::pythonDump ( )

Definition at line 91 of file stats.cc.

References gem5::ArmISA::m.

Referenced by registerPythonStatsHandlers().

◆ pythonReset()

void gem5::statistics::pythonReset ( )

Definition at line 98 of file stats.cc.

References gem5::ArmISA::m.

Referenced by registerPythonStatsHandlers().

◆ registerDumpCallback()

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 324 of file statistics.cc.

References dumpQueue.

Referenced by gem5::ruby::AbstractController::AbstractController(), gem5::ruby::Network::Network(), and gem5::ruby::RubySystem::RubySystem().

◆ registerHandlers()

void gem5::statistics::registerHandlers ( Handler  reset_handler,
Handler  dump_handler 
)

Definition at line 250 of file statistics.cc.

References dumpHandler, and resetHandler.

Referenced by registerPythonStatsHandlers().

◆ registerPythonStatsHandlers()

void gem5::statistics::registerPythonStatsHandlers ( )

Register py_...

functions as the statistics handlers

Definition at line 52 of file stat_register.cc.

References pythonDump(), pythonReset(), and registerHandlers().

Referenced by gem5::pybind_init_stats().

◆ registerResetCallback()

void gem5::statistics::registerResetCallback ( const std::function< void()> &  callback)

Register a callback that should be called whenever statistics are reset.

Definition at line 272 of file statistics.cc.

References resetQueue.

Referenced by gem5::FunctionProfile::FunctionProfile(), and gem5::MemFootprintProbe::MemFootprintProbeStats::MemFootprintProbeStats().

◆ reset()

void gem5::statistics::reset ( )

◆ resolve()

const Info * gem5::statistics::resolve ( const std::string &  name)

◆ schedStatEvent()

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.

Parameters
dumpSet true to dump the statistics.
resetSet true to reset the statistics.
whenWhen the dump and/or reset should occur.
repeatHow often the event should repeat. Set 0 to disable repeating.

Definition at line 107 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::statistics::StatEvent::process(), gem5::ArmISA::DumpStats::process(), gem5::pybind_init_stats(), and gem5::pseudo_inst::resetstats().

◆ statsList()

std::list< Info * > & gem5::statistics::statsList ( )

Definition at line 62 of file statistics.cc.

Referenced by gem5::pybind_init_stats(), and gem5::statistics::InfoAccess::setInfo().

◆ statsMap()

MapType & gem5::statistics::statsMap ( )

◆ sum()

Temp gem5::statistics::sum ( Temp  val)
inline

Definition at line 2875 of file statistics.hh.

References gem5::X86ISA::val.

◆ updateEvents()

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 147 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().

◆ validateStatName()

bool gem5::statistics::validateStatName ( const std::string &  name)

Definition at line 97 of file info.cc.

References gem5::ArmISA::c, name(), gem5::tokenize(), and gem5::PowerISA::vec.

Referenced by gem5::statistics::Info::setName().

◆ ValueToString()

std::string gem5::statistics::ValueToString ( Result  value,
int  precision 
)

Definition at line 182 of file text.cc.

References gem5::X86ISA::val.

Referenced by gem5::statistics::ScalarPrint::operator()().

Variable Documentation

◆ __reserved

const FlagsType gem5::statistics::__reserved = init | display

Mask of flags that can't be set directly.

Definition at line 75 of file info.hh.

◆ _enabled

bool gem5::statistics::_enabled = false

Definition at line 277 of file statistics.cc.

Referenced by enable(), and enabled().

◆ cdf

const FlagsType gem5::statistics::cdf = 0x0040

Print the cumulative percentage of total upto this entry.

Definition at line 64 of file info.hh.

Referenced by gem5::statistics::VectorPrint::operator()().

◆ debug_break_id

int gem5::statistics::debug_break_id = -1

Definition at line 63 of file info.cc.

Referenced by gem5::statistics::Info::Info().

◆ display

const FlagsType gem5::statistics::display = 0x0002

◆ dist

const FlagsType gem5::statistics::dist = 0x0080

◆ dumpEvent

GlobalEvent* gem5::statistics::dumpEvent

Definition at line 64 of file stat_control.cc.

Referenced by periodicStatDump(), schedStatEvent(), and updateEvents().

◆ dumpHandler

Handler gem5::statistics::dumpHandler = NULL

Definition at line 247 of file statistics.cc.

Referenced by dump(), and registerHandlers().

◆ dumpQueue

CallbackQueue gem5::statistics::dumpQueue

Definition at line 256 of file statistics.cc.

Referenced by processDumpQueue(), and registerDumpCallback().

◆ init

const FlagsType gem5::statistics::init = 0x0001

◆ nonan

const FlagsType gem5::statistics::nonan = 0x0200

◆ none

const FlagsType gem5::statistics::none = 0x0000

◆ nozero

const FlagsType gem5::statistics::nozero = 0x0100

Don't print if this is zero.

Definition at line 68 of file info.hh.

Referenced by gem5::ruby::CacheMemory::CacheMemoryStats::CacheMemoryStats(), gem5::ruby::AbstractController::ControllerStats::ControllerStats(), gem5::SimpleExecContext::ExecContextStats::ExecContextStats(), 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::statistics::ScalarPrint::operator()(), gem5::statistics::VectorPrint::operator()(), gem5::statistics::DistPrint::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::HTMSequencer::regStats(), gem5::ruby::SimpleNetwork::regStats(), gem5::ruby::Throttle::regStats(), gem5::ruby::Switch::regStats(), gem5::BaseTags::BaseTagStats::regStats(), gem5::ruby::garnet::GarnetNetwork::regStats(), gem5::ruby::garnet::Router::regStats(), gem5::compression::Base::BaseStats::regStats(), gem5::PowerState::PowerStateStats::regStats(), gem5::memory::qos::MemCtrl::MemCtrlStats::regStats(), gem5::PowerDomain::PowerDomainStats::regStats(), gem5::memory::AbstractMemory::MemStats::regStats(), gem5::BaseXBar::regStats(), gem5::memory::MemCtrl::CtrlStats::regStats(), gem5::memory::DRAMInterface::DRAMStats::regStats(), gem5::BaseCache::CacheStats::regStats(), gem5::memory::NVMInterface::NVMStats::regStats(), gem5::BaseCache::CacheCmdStats::regStatsFromParent(), gem5::StackDistProbe::StackDistProbeStats::StackDistProbeStats(), gem5::prefetch::Base::StatGroup::StatGroup(), gem5::ArmISA::TableWalker::TableWalkerStats::TableWalkerStats(), and gem5::UFSHostDevice::UFSHostDeviceStats::UFSHostDeviceStats().

◆ oneline

const FlagsType gem5::statistics::oneline = 0x0400

◆ pdf

const FlagsType gem5::statistics::pdf = 0x0020

Print the percent of the total that this entry represents.

Definition at line 62 of file info.hh.

Referenced by gem5::ruby::CacheMemory::CacheMemoryStats::CacheMemoryStats(), gem5::o3::Commit::CommitStats::CommitStats(), gem5::ComputeUnit::ComputeUnitStats::ComputeUnitStats(), gem5::SimpleExecContext::ExecContextStats::ExecContextStats(), gem5::o3::Fetch::FetchStatGroup::FetchStatGroup(), gem5::FlashDevice::FlashDeviceStats::FlashDeviceStats(), gem5::ruby::HTMSequencer::HTMSequencer(), gem5::o3::InstructionQueue::IQStats::IQStats(), gem5::minor::MinorStats::MinorStats(), 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::ruby::HTMSequencer::regStats(), gem5::ruby::garnet::GarnetNetwork::regStats(), gem5::PowerState::PowerStateStats::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().

◆ resetHandler

Handler gem5::statistics::resetHandler = NULL

Definition at line 246 of file statistics.cc.

Referenced by registerHandlers(), and reset().

◆ resetQueue

CallbackQueue gem5::statistics::resetQueue

Definition at line 257 of file statistics.cc.

Referenced by processResetQueue(), and registerResetCallback().

◆ total

const FlagsType gem5::statistics::total = 0x0010

Print the total.

Definition at line 60 of file info.hh.

Referenced by gem5::ruby::CacheMemory::CacheMemoryStats::CacheMemoryStats(), gem5::PacketFifo::check(), gem5::o3::Commit::CommitStats::CommitStats(), gem5::CopyEngine::CopyEngineStats::CopyEngineStats(), gem5::o3::ROB::countInsts(), gem5::o3::CPU::CPUStats::CPUStats(), gem5::SimpleExecContext::ExecContextStats::ExecContextStats(), gem5::o3::IEW::IEWStats::ExecutedInstStats::ExecutedInstStats(), gem5::minor::Fetch2::Fetch2Stats::Fetch2Stats(), gem5::o3::Fetch::FetchStatGroup::FetchStatGroup(), 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::minor::MinorStats::MinorStats(), gem5::o3::LSQ::numFreeLoadEntries(), gem5::o3::LSQ::numFreeStoreEntries(), gem5::o3::LSQ::numLoads(), gem5::BaseCPU::numSimulatedInsts(), gem5::BaseCPU::numSimulatedOps(), gem5::o3::LSQ::numStores(), gem5::statistics::VectorPrint::operator()(), gem5::statistics::DistPrint::operator()(), gem5::ruby::HTMSequencer::regStats(), gem5::BaseTags::BaseTagStats::regStats(), gem5::ruby::garnet::GarnetNetwork::regStats(), gem5::compression::Base::BaseStats::regStats(), gem5::memory::AbstractMemory::MemStats::regStats(), gem5::BaseXBar::regStats(), gem5::BaseCache::CacheStats::regStats(), gem5::BaseCache::CacheCmdStats::regStatsFromParent(), gem5::o3::Rename::RenameStats::RenameStats(), SC_MODULE(), gem5::prefetch::Base::StatGroup::StatGroup(), gem5::ArmISA::TableWalker::TableWalkerStats::TableWalkerStats(), TEST(), gem5::o3::CPU::totalInsts(), gem5::o3::CPU::totalOps(), gem5::statistics::ScalarPrint::update(), and gem5::statistics::Text::visit().


Generated on Tue Sep 21 2021 12:32:25 for gem5 by doxygen 1.8.17