gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::statistics::ScalarPrint Struct Reference
Inheritance diagram for gem5::statistics::ScalarPrint:
gem5::statistics::BasePrint

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 pdf
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

Detailed Description

Definition at line 239 of file text.cc.

Constructor & Destructor Documentation

◆ ScalarPrint()

gem5::statistics::ScalarPrint::ScalarPrint ( bool spaces)
inline

Member Function Documentation

◆ operator()()

◆ update()

void gem5::statistics::ScalarPrint::update ( Result val,
Result total )

Member Data Documentation

◆ cdf

◆ cdfstrSpaces

int gem5::statistics::ScalarPrint::cdfstrSpaces

Definition at line 247 of file text.cc.

Referenced by operator()(), and ScalarPrint().

◆ nameSpaces

int gem5::statistics::ScalarPrint::nameSpaces

Definition at line 244 of file text.cc.

Referenced by operator()(), and ScalarPrint().

◆ pdf

◆ pdfstrSpaces

int gem5::statistics::ScalarPrint::pdfstrSpaces

Definition at line 246 of file text.cc.

Referenced by operator()(), and ScalarPrint().

◆ value

◆ valueSpaces

int gem5::statistics::ScalarPrint::valueSpaces

Definition at line 245 of file text.cc.

Referenced by operator()(), and ScalarPrint().


The documentation for this struct was generated from the following file:

Generated on Sat Oct 18 2025 08:07:03 for gem5 by doxygen 1.14.0