gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Stats::Text Class Reference

#include <text.hh>

Inheritance diagram for Stats::Text:
Stats::Output

Public Member Functions

 Text ()
 
 Text (std::ostream &stream)
 
 Text (const std::string &file)
 
 ~Text ()
 
void open (std::ostream &stream)
 
void open (const std::string &file)
 
virtual void visit (const ScalarInfo &info)
 
virtual void visit (const VectorInfo &info)
 
virtual void visit (const DistInfo &info)
 
virtual void visit (const VectorDistInfo &info)
 
virtual void visit (const Vector2dInfo &info)
 
virtual void visit (const FormulaInfo &info)
 
virtual void visit (const SparseHistInfo &info)
 
virtual bool valid () const
 
virtual void begin ()
 
virtual void end ()
 
- Public Member Functions inherited from Stats::Output
virtual ~Output ()
 

Public Attributes

bool descriptions
 

Protected Member Functions

bool noOutput (const Info &info)
 

Protected Attributes

bool mystream
 
std::ostream * stream
 

Detailed Description

Definition at line 43 of file text.hh.

Constructor & Destructor Documentation

Stats::Text::Text ( )

Definition at line 87 of file text.cc.

Stats::Text::Text ( std::ostream &  stream)

Definition at line 92 of file text.cc.

References open().

Stats::Text::Text ( const std::string &  file)

Definition at line 98 of file text.cc.

References open().

Stats::Text::~Text ( )

Definition at line 105 of file text.cc.

References mystream, and stream.

Member Function Documentation

void Stats::Text::begin ( )
virtual

Implements Stats::Output.

Definition at line 144 of file text.cc.

References ccprintf(), and stream.

void Stats::Text::end ( )
virtual

Implements Stats::Output.

Definition at line 150 of file text.cc.

References ccprintf(), and stream.

bool Stats::Text::noOutput ( const Info info)
protected

Definition at line 157 of file text.cc.

References Stats::display, Stats::Info::flags, Flags< T >::isSet(), Stats::Info::prereq, and Stats::Info::zero().

Referenced by visit().

void Stats::Text::open ( std::ostream &  stream)

Definition at line 114 of file text.cc.

References fatal, mystream, panic, stream, and valid().

Referenced by Stats::initText(), and Text().

void Stats::Text::open ( const std::string &  file)

Definition at line 126 of file text.cc.

References fatal, mystream, panic, stream, and valid().

bool Stats::Text::valid ( ) const
virtual

Implements Stats::Output.

Definition at line 138 of file text.cc.

References stream.

Referenced by open().

void Stats::Text::visit ( const ScalarInfo info)
virtual
void Stats::Text::visit ( const VectorInfo info)
virtual
void Stats::Text::visit ( const DistInfo info)
virtual

Implements Stats::Output.

Definition at line 632 of file text.cc.

References noOutput(), and stream.

void Stats::Text::visit ( const VectorDistInfo info)
virtual

Implements Stats::Output.

Definition at line 642 of file text.cc.

References ArmISA::i, noOutput(), Stats::VectorDistInfo::size(), and stream.

void Stats::Text::visit ( const Vector2dInfo info)
virtual
void Stats::Text::visit ( const FormulaInfo info)
virtual

Implements Stats::Output.

Definition at line 654 of file text.cc.

References visit().

void Stats::Text::visit ( const SparseHistInfo info)
virtual

Implements Stats::Output.

Definition at line 729 of file text.cc.

References noOutput(), and stream.

Member Data Documentation

bool Stats::Text::descriptions
bool Stats::Text::mystream
protected

Definition at line 46 of file text.hh.

Referenced by open(), and ~Text().

std::ostream* Stats::Text::stream
protected

Definition at line 47 of file text.hh.

Referenced by begin(), end(), open(), valid(), visit(), and ~Text().


The documentation for this class was generated from the following files:

Generated on Fri Jun 9 2017 13:04:40 for gem5 by doxygen 1.8.6