gem5
v22.1.0.0
|
#include <statistics.hh>
Public Member Functions | |
FormulaInfoProxy (Stat &stat) | |
size_type | size () const |
const VResult & | result () const |
Result | total () const |
VCounter & | value () const |
std::string | str () 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, bool old_style=true) |
Set the name of this statistic. More... | |
void | setSeparator (std::string _sep) |
StorageParams const * | getStorageParams () const |
Getter for the storage params. More... | |
void | setStorageParams (const StorageParams *const params) |
Setter for the storage params. More... | |
bool | baseCheck () const |
Protected Attributes | |
VResult | vec |
VCounter | cvec |
![]() | |
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... | |
const units::Base * | unit = units::Unspecified::get() |
The unit 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 |
![]() | |
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 2376 of file statistics.hh.
|
inline |
Definition at line 2383 of file statistics.hh.
|
inlinevirtual |
Implements gem5::statistics::VectorInfo.
Definition at line 2388 of file statistics.hh.
References gem5::statistics::InfoProxy< Stat, FormulaInfo >::s, and gem5::statistics::FormulaInfoProxy< Stat >::vec.
|
inlinevirtual |
Implements gem5::statistics::VectorInfo.
Definition at line 2385 of file statistics.hh.
References gem5::statistics::InfoProxy< Stat, FormulaInfo >::s.
|
inlinevirtual |
Implements gem5::statistics::FormulaInfo.
Definition at line 2396 of file statistics.hh.
References gem5::statistics::InfoProxy< Stat, FormulaInfo >::s.
|
inlinevirtual |
Implements gem5::statistics::VectorInfo.
Definition at line 2393 of file statistics.hh.
References gem5::statistics::InfoProxy< Stat, FormulaInfo >::s.
|
inlinevirtual |
Implements gem5::statistics::VectorInfo.
Definition at line 2394 of file statistics.hh.
References gem5::statistics::FormulaInfoProxy< Stat >::cvec.
|
mutableprotected |
Definition at line 2380 of file statistics.hh.
Referenced by gem5::statistics::FormulaInfoProxy< Stat >::value().
|
mutableprotected |
Definition at line 2379 of file statistics.hh.
Referenced by gem5::statistics::FormulaInfoProxy< Stat >::result().