gem5
|
#include <text.hh>
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 |
Stats::Text::Text | ( | std::ostream & | stream | ) |
Stats::Text::Text | ( | const std::string & | file | ) |
|
virtual |
Implements Stats::Output.
Definition at line 144 of file text.cc.
References ccprintf(), and stream.
|
virtual |
Implements Stats::Output.
Definition at line 150 of file text.cc.
References ccprintf(), and stream.
|
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 | ) |
void Stats::Text::open | ( | const std::string & | file | ) |
|
virtual |
Implements Stats::Output.
Definition at line 138 of file text.cc.
References stream.
Referenced by open().
|
virtual |
Implements Stats::Output.
Definition at line 507 of file text.cc.
References Stats::ScalarPrint::cdf, Stats::Info::desc, Stats::ScalarPrint::desc, descriptions, Stats::ScalarPrint::descriptions, Stats::Info::flags, Stats::ScalarPrint::flags, Stats::Info::name, Stats::ScalarPrint::name, NAN, noOutput(), Stats::ScalarPrint::pdf, Stats::Info::precision, Stats::ScalarPrint::precision, Stats::ScalarInfo::result(), stream, and Stats::ScalarPrint::value.
Referenced by visit().
|
virtual |
Implements Stats::Output.
Definition at line 526 of file text.cc.
References Stats::Info::desc, Stats::VectorPrint::desc, descriptions, Stats::VectorPrint::descriptions, Stats::Info::flags, Stats::VectorPrint::flags, Stats::VectorPrint::forceSubnames, ArmISA::i, Stats::Info::name, Stats::VectorPrint::name, noOutput(), Stats::Info::precision, Stats::VectorPrint::precision, Stats::VectorInfo::result(), Stats::Info::separatorString, Stats::VectorPrint::separatorString, X86ISA::size(), Stats::VectorInfo::size(), stream, Stats::VectorInfo::subdescs, Stats::VectorPrint::subdescs, Stats::VectorInfo::subnames, Stats::VectorPrint::subnames, Stats::VectorInfo::total(), Stats::VectorPrint::total, and Stats::VectorPrint::vec.
|
virtual |
Implements Stats::Output.
Definition at line 632 of file text.cc.
References noOutput(), and stream.
|
virtual |
Implements Stats::Output.
Definition at line 642 of file text.cc.
References ArmISA::i, noOutput(), Stats::VectorDistInfo::size(), and stream.
|
virtual |
Implements Stats::Output.
Definition at line 566 of file text.cc.
References Stats::Vector2dInfo::cvec, Stats::Info::desc, Stats::VectorPrint::desc, descriptions, Stats::VectorPrint::descriptions, Stats::Info::flags, Stats::VectorPrint::flags, Stats::VectorPrint::forceSubnames, ArmISA::i, Flags< T >::isSet(), ArmISA::j, Stats::Info::name, Stats::VectorPrint::name, noOutput(), Stats::Info::precision, Stats::VectorPrint::precision, Stats::Info::separatorString, Stats::VectorPrint::separatorString, stream, Stats::Vector2dInfo::subnames, Stats::VectorPrint::subnames, Stats::total, Stats::Vector2dInfo::total(), Stats::VectorPrint::total, Stats::VectorPrint::vec, Stats::Vector2dInfo::x, Stats::Vector2dInfo::y, and Stats::Vector2dInfo::y_subnames.
|
virtual |
|
virtual |
Implements Stats::Output.
Definition at line 729 of file text.cc.
References noOutput(), and stream.
bool Stats::Text::descriptions |
Definition at line 53 of file text.hh.
Referenced by Stats::DistPrint::init(), Stats::SparseHistPrint::init(), Stats::initText(), and visit().
|
protected |
|
protected |