gem5
|
#include <statistics.hh>
Public Member Functions | |
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 (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 173 of file statistics.hh.
|
inline |
Check that this stat has been set up properly and is ready for use.
Definition at line 205 of file statistics.hh.
|
protected |
Grab the information class for this statistic.
Definition at line 98 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.
Definition at line 106 of file statistics.cc.
References ArmISA::i, and Stats::statsMap().
|
inline |
Reset the stat to the default state.
Definition at line 192 of file statistics.hh.
|
protected |
Set up an info class for this statistic.
Definition at line 70 of file statistics.cc.
References panic, Stats::statsList(), and Stats::statsMap().
Referenced by Stats::DataWrap< SparseHistogram, SparseHistInfoProxy >::DataWrap().
|
protected |
Save Storage class parameters if any.
Definition at line 92 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::Formula::Formula(), 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 86 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 198 of file statistics.hh.