gem5 v24.0.0.0
|
#include <output.hh>
Public Member Functions | |
virtual | ~OutputStream () |
std::ostream * | stream () const |
Get the output underlying output stream. | |
virtual bool | recreateable () const |
Can the file be recreated if the output directory is moved? | |
const std::string & | name () const |
Get the file name in the output directory. | |
Protected Member Functions | |
OutputStream (const std::string &name, std::ostream *stream) | |
Wrap an existing stream. | |
OutputStream (const OutputStream &f) | |
virtual void | relocate (const OutputDirectory &dir) |
Re-create the in a new location if recreateable. | |
Protected Attributes | |
const std::string | _name |
Name in output directory. | |
std::ostream *const | _stream |
Underlying output stream. | |
Friends | |
class | OutputDirectory |
|
protected |
|
protected |
|
inline |
Get the file name in the output directory.
Definition at line 73 of file output.hh.
References _name.
Referenced by gem5::OutputDirectory::close(), and sc_gem5::TraceFile::set_time_unit().
|
inlinevirtual |
Can the file be recreated if the output directory is moved?
Reimplemented in gem5::OutputFile< StreamType >.
|
protectedvirtual |
Re-create the in a new location if recreateable.
Reimplemented in gem5::OutputFile< StreamType >.
|
inline |
Get the output underlying output stream.
Definition at line 62 of file output.hh.
References _stream.
Referenced by gem5::VncInput::captureFrameBuffer(), gem5::OutputDirectory::close(), gem5::Pl111::dmaDone(), gem5::ProtocolTester::dumpErrorLog(), gem5::ComputeUnit::exitCallback(), gem5::X86ISA::GpuTLB::exitCallback(), gem5::statistics::initText(), gem5::output(), gem5::trace::TarmacTracer::output(), gem5::ArmISA::DumpStats::process(), gem5::SimPoint::profile(), gem5::ProtocolTester::ProtocolTester(), gem5::HDLcd::pxlFrameDone(), sc_gem5::TraceFile::stream(), gem5::Terminal::Terminal(), gem5::Terminal::writeData(), and gem5::pseudo_inst::writefile().
|
friend |
|
protected |
Name in output directory.
Definition at line 89 of file output.hh.
Referenced by name(), and gem5::OutputFile< StreamType >::OutputFile().
|
protected |