gem5
v20.0.0.2
|
#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 183 of file statistics.hh.
|
inline |
Definition at line 202 of file statistics.hh.
|
inline |
Check that this stat has been set up properly and is ready for use.
Definition at line 221 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.
Definition at line 131 of file statistics.cc.
References ArmISA::i, and Stats::statsMap().
|
inline |
Reset the stat to the default state.
Definition at line 208 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().
|
protected |
Save Storage class parameters if any.
Definition at line 111 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 105 of file statistics.cc.
|
inline |
Definition at line 214 of file statistics.hh.
|
private |
Definition at line 186 of file statistics.hh.