gem5
v20.1.0.0
|
#include <statistics.hh>
Public Member Functions | |
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 | |
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... | |
Private Attributes | |
Info * | _info |
Definition at line 181 of file statistics.hh.
|
inline |
Definition at line 200 of file statistics.hh.
|
inline |
Check that this stat has been set up properly and is ready for use.
Definition at line 219 of file statistics.hh.
|
protected |
Grab the information class for this statistic.
Definition at line 117 of file statistics.cc.
References ArmISA::i, and Stats::statsMap().
Referenced by Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::info().
|
protected |
Grab the information class for this statistic.
|
inline |
Reset the stat to the default state.
Definition at line 206 of file statistics.hh.
Set up an info class for this statistic.
Definition at line 81 of file statistics.cc.
References panic_if, Stats::statsList(), and Stats::statsMap().
Referenced by Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::DataWrap().
|
protected |
Save Storage class parameters if any.
Definition at line 111 of file statistics.cc.
References Stats::init.
Referenced by Stats::ScalarBase< Scalar, StatStor >::doInit(), Stats::VectorBase< Vector, StatStor >::doInit(), Stats::DistBase< Distribution, DistStor >::doInit(), Stats::VectorDistBase< VectorAverageDeviation, AvgSampleStor >::doInit(), Stats::SparseHistBase< SparseHistogram, SparseHistStor >::doInit(), Stats::ValueBase< Value >::functor(), Stats::Vector2dBase< Vector2d, StatStor >::init(), Stats::ValueBase< Value >::method(), Stats::Formula::operator+=(), Stats::Formula::operator=(), and Stats::ValueBase< Value >::scalar().
|
protected |
Save Storage class parameters if any.
Definition at line 105 of file statistics.cc.
Referenced by Stats::AverageDeviation::AverageDeviation(), Stats::Distribution::init(), Stats::Histogram::init(), Stats::VectorDistribution::init(), Stats::VectorStandardDeviation::init(), Stats::VectorAverageDeviation::init(), Stats::SparseHistogram::init(), and Stats::StandardDeviation::StandardDeviation().
|
inline |
Definition at line 212 of file statistics.hh.
|
private |
Definition at line 184 of file statistics.hh.