gem5  v22.1.0.0
Public Member Functions | Public Attributes | List of all members
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 240 of file text.cc.

Constructor & Destructor Documentation

◆ ScalarPrint()

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

Member Function Documentation

◆ operator()()

void gem5::statistics::ScalarPrint::operator() ( std::ostream &  stream,
bool  oneLine = false 
) const

◆ update()

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

Member Data Documentation

◆ cdf

Result gem5::statistics::ScalarPrint::cdf

◆ cdfstrSpaces

int gem5::statistics::ScalarPrint::cdfstrSpaces

Definition at line 248 of file text.cc.

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

◆ nameSpaces

int gem5::statistics::ScalarPrint::nameSpaces

Definition at line 245 of file text.cc.

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

◆ pdf

Result gem5::statistics::ScalarPrint::pdf

◆ pdfstrSpaces

int gem5::statistics::ScalarPrint::pdfstrSpaces

Definition at line 247 of file text.cc.

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

◆ value

Result gem5::statistics::ScalarPrint::value

◆ valueSpaces

int gem5::statistics::ScalarPrint::valueSpaces

Definition at line 246 of file text.cc.

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


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

Generated on Wed Dec 21 2022 10:24:27 for gem5 by doxygen 1.9.1