gem5
v19.0.0.0
|
#include <statistics.hh>
Public Member Functions | |
VectorInfoProxy (Stat &stat) | |
size_type | size () const |
VCounter & | value () const |
const VResult & | result () const |
Result | total () const |
![]() | |
InfoProxy (Stat &stat) | |
bool | check () const |
void | prepare () |
void | reset () |
void | visit (Output &visitor) |
bool | zero () const |
![]() | |
void | enable () |
Enable the stat for use. More... | |
![]() | |
Info () | |
virtual | ~Info () |
void | setName (const std::string &name) |
Set the name of this statistic. More... | |
void | setName (const Group *parent, const std::string &name) |
void | setSeparator (std::string _sep) |
bool | baseCheck () const |
Protected Attributes | |
VCounter | cvec |
VResult | rvec |
![]() | |
Stat & | s |
Additional Inherited Members | |
![]() | |
static bool | less (Info *stat1, Info *stat2) |
Checks if the first stat's name is alphabetically less than the second. More... | |
![]() | |
std::vector< std::string > | subnames |
Names and descriptions of subfields. More... | |
std::vector< std::string > | subdescs |
![]() | |
std::string | name |
The name of the stat. More... | |
std::string | desc |
The description of the stat. More... | |
Flags | flags |
The formatting flags. More... | |
int | precision |
The display precision. More... | |
const Info * | prereq |
A pointer to a prerequisite Stat. More... | |
int | id |
const StorageParams * | storageParams |
![]() | |
static std::string | separatorString = "::" |
The separator string used for vectors, dist, etc. More... | |
static int | id_count = 0 |
A unique stat ID for each stat in the simulator. More... | |
Definition at line 128 of file statistics.hh.
|
inline |
Definition at line 135 of file statistics.hh.
|
inlinevirtual |
Implements Stats::VectorInfo.
Definition at line 147 of file statistics.hh.
References Stats::InfoProxy< Stat, Base >::s.
|
inlinevirtual |
Implements Stats::VectorInfo.
Definition at line 137 of file statistics.hh.
References Stats::InfoProxy< Stat, Base >::s.
|
inlinevirtual |
Implements Stats::VectorInfo.
Definition at line 153 of file statistics.hh.
References Stats::InfoProxy< Stat, Base >::s.
|
inlinevirtual |
Implements Stats::VectorInfo.
Definition at line 140 of file statistics.hh.
References Stats::InfoProxy< Stat, Base >::s.
|
mutableprotected |
Definition at line 131 of file statistics.hh.
|
mutableprotected |
Definition at line 132 of file statistics.hh.