gem5 v24.0.0.0
|
Public Member Functions | |
ScalarPrint (bool spaces) | |
void | update (Result val, Result total) |
void | operator() (std::ostream &stream, bool oneLine=false) const |
Public Member Functions inherited from gem5::statistics::BasePrint | |
BasePrint (bool _spaces=false) | |
void | setup (std::string _name, Flags _flags, int _precision, bool enable_descriptions, std::string _desc, bool enable_units, std::string unit_str, bool enable_spaces) |
void | printUnits (std::ostream &stream) const |
Public Attributes | |
Result | value |
Result | |
Result | cdf |
int | nameSpaces |
int | valueSpaces |
int | pdfstrSpaces |
int | cdfstrSpaces |
Public Attributes inherited from gem5::statistics::BasePrint | |
std::string | name |
Flags | flags |
int | precision |
bool | descriptions |
std::string | desc |
bool | enableUnits |
std::string | unitStr |
bool | spaces |
|
inline |
Definition at line 249 of file text.cc.
References cdfstrSpaces, nameSpaces, pdfstrSpaces, gem5::statistics::BasePrint::spaces, and valueSpaces.
void gem5::statistics::ScalarPrint::operator() | ( | std::ostream & | stream, |
bool | oneLine = false ) const |
Definition at line 279 of file text.cc.
References gem5::ccprintf(), cdf, cdfstrSpaces, gem5::statistics::BasePrint::desc, gem5::statistics::BasePrint::descriptions, gem5::statistics::BasePrint::flags, std::isnan(), gem5::Flags< T >::isSet(), gem5::statistics::BasePrint::name, nameSpaces, gem5::statistics::nonan, gem5::statistics::nozero, pdf, pdfstrSpaces, gem5::statistics::BasePrint::precision, gem5::statistics::BasePrint::printUnits(), gem5::statistics::BasePrint::spaces, value, valueSpaces, and gem5::statistics::ValueToString().
Definition at line 269 of file text.cc.
References cdf, pdf, gem5::statistics::total, gem5::X86ISA::val, and value.
Referenced by gem5::statistics::DistPrint::operator()(), and gem5::statistics::VectorPrint::operator()().
Result gem5::statistics::ScalarPrint::cdf |
Definition at line 243 of file text.cc.
Referenced by gem5::statistics::DistPrint::operator()(), operator()(), gem5::statistics::SparseHistPrint::operator()(), gem5::statistics::VectorPrint::operator()(), update(), and gem5::statistics::Text::visit().
int gem5::statistics::ScalarPrint::cdfstrSpaces |
Definition at line 247 of file text.cc.
Referenced by operator()(), and ScalarPrint().
int gem5::statistics::ScalarPrint::nameSpaces |
Definition at line 244 of file text.cc.
Referenced by operator()(), and ScalarPrint().
Result gem5::statistics::ScalarPrint::pdf |
Definition at line 242 of file text.cc.
Referenced by gem5::statistics::DistPrint::operator()(), operator()(), gem5::statistics::SparseHistPrint::operator()(), gem5::statistics::VectorPrint::operator()(), update(), and gem5::statistics::Text::visit().
int gem5::statistics::ScalarPrint::pdfstrSpaces |
Definition at line 246 of file text.cc.
Referenced by operator()(), and ScalarPrint().
Result gem5::statistics::ScalarPrint::value |
Definition at line 241 of file text.cc.
Referenced by gem5::statistics::DistPrint::operator()(), operator()(), gem5::statistics::SparseHistPrint::operator()(), gem5::statistics::VectorPrint::operator()(), update(), and gem5::statistics::Text::visit().
int gem5::statistics::ScalarPrint::valueSpaces |
Definition at line 245 of file text.cc.
Referenced by operator()(), and ScalarPrint().