gem5
v19.0.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 186 of file statistics.hh.
|
inline |
Definition at line 205 of file statistics.hh.
|
inline |
Check that this stat has been set up properly and is ready for use.
Definition at line 224 of file statistics.hh.
|
protected |
Grab the information class for this statistic.
Definition at line 118 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 132 of file statistics.cc.
References ArmISA::i, and Stats::statsMap().
|
inline |
Reset the stat to the default state.
Definition at line 211 of file statistics.hh.
Set up an info class for this statistic.
Definition at line 82 of file statistics.cc.
References panic_if, Stats::statsList(), and Stats::statsMap().
|
protected |
Save Storage class parameters if any.
Definition at line 112 of file statistics.cc.
References Stats::init.
Referenced by Stats::Formula::operator+=(), and Stats::Formula::operator=().
|
protected |
Save Storage class parameters if any.
Definition at line 106 of file statistics.cc.
|
inline |
Definition at line 217 of file statistics.hh.
|
private |
Definition at line 189 of file statistics.hh.