gem5 v24.0.0.0
|
#include <tracefile.hh>
Public Member Functions | |
~TraceFile () | |
void | traceDeltas (bool on) |
void | set_time_unit (double, ::sc_core::sc_time_unit) override |
void | finalizeTime () |
virtual void | trace (bool delta)=0 |
virtual void | addTraceVal (const bool *v, const std::string &name)=0 |
virtual void | addTraceVal (const float *v, const std::string &name)=0 |
virtual void | addTraceVal (const double *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_dt::sc_logic *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_dt::sc_int_base *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_dt::sc_uint_base *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_dt::sc_signed *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_dt::sc_unsigned *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_dt::sc_bv_base *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_dt::sc_lv_base *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_dt::sc_fxval *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_dt::sc_fxval_fast *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_dt::sc_fxnum *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_dt::sc_fxnum_fast *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_core::sc_event *v, const std::string &name)=0 |
virtual void | addTraceVal (const sc_core::sc_time *v, const std::string &name)=0 |
virtual void | addTraceVal (const unsigned char *v, const std::string &name, int width)=0 |
virtual void | addTraceVal (const char *v, const std::string &name, int width)=0 |
virtual void | addTraceVal (const unsigned short *v, const std::string &name, int width)=0 |
virtual void | addTraceVal (const short *v, const std::string &name, int width)=0 |
virtual void | addTraceVal (const unsigned int *v, const std::string &name, int width)=0 |
virtual void | addTraceVal (const int *v, const std::string &name, int width)=0 |
virtual void | addTraceVal (const unsigned long *v, const std::string &name, int width)=0 |
virtual void | addTraceVal (const long *v, const std::string &name, int width)=0 |
virtual void | addTraceVal (const sc_dt::int64 *v, const std::string &name, int width)=0 |
virtual void | addTraceVal (const sc_dt::uint64 *v, const std::string &name, int width)=0 |
virtual void | addTraceVal (const unsigned int *, const std::string &name, const char **literals)=0 |
virtual void | writeComment (const std::string &comment)=0 |
Public Member Functions inherited from sc_core::sc_trace_file | |
virtual | ~sc_trace_file () |
virtual void | set_time_unit (double, sc_time_unit)=0 |
Protected Member Functions | |
TraceFile (const std::string &name) | |
std::ostream & | stream () |
Protected Member Functions inherited from sc_core::sc_trace_file | |
sc_trace_file () | |
Protected Attributes | |
gem5::OutputStream * | _os |
uint64_t | timeUnitTicks |
double | timeUnitValue |
::sc_core::sc_time_unit | timeUnitUnit |
bool | _traceDeltas |
Definition at line 191 of file tracefile.hh.
|
protected |
Definition at line 42 of file tracefile.cc.
References sc_gem5::Scheduler::registerTraceFile(), and sc_gem5::scheduler.
sc_gem5::TraceFile::~TraceFile | ( | ) |
Definition at line 49 of file tracefile.cc.
References _os, gem5::OutputDirectory::close(), sc_gem5::scheduler, gem5::simout, and sc_gem5::Scheduler::unregisterTraceFile().
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
void sc_gem5::TraceFile::finalizeTime | ( | ) |
Definition at line 77 of file tracefile.cc.
References sc_core::sc_get_time_resolution(), timeUnitTicks, timeUnitUnit, timeUnitValue, and sc_core::sc_time::value().
Referenced by sc_gem5::VcdTraceFile::initialize().
|
override |
Definition at line 58 of file tracefile.cc.
References _os, gem5::OutputStream::name(), sc_core::SC_FS, SC_REPORT_INFO, sc_core::SC_SEC, ss, sc_gem5::TimeUnitNames, sc_gem5::TimeUnitScale, timeUnitUnit, and timeUnitValue.
|
protected |
Definition at line 55 of file tracefile.cc.
References _os, and gem5::OutputStream::stream().
Referenced by sc_gem5::VcdTraceFile::initialize(), sc_gem5::VcdTraceFile::trace(), sc_gem5::VcdTraceFile::writeComment(), and sc_gem5::VcdTraceFile::~VcdTraceFile().
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
inline |
Definition at line 208 of file tracefile.hh.
References _traceDeltas.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
protected |
Definition at line 194 of file tracefile.hh.
Referenced by set_time_unit(), stream(), and ~TraceFile().
|
protected |
Definition at line 199 of file tracefile.hh.
Referenced by sc_gem5::VcdTraceFile::trace(), and traceDeltas().
|
protected |
Definition at line 195 of file tracefile.hh.
Referenced by finalizeTime(), sc_gem5::VcdTraceFile::initialize(), sc_gem5::VcdTraceFile::trace(), and sc_gem5::VcdTraceFile::~VcdTraceFile().
|
protected |
Definition at line 197 of file tracefile.hh.
Referenced by finalizeTime(), and set_time_unit().
|
protected |
Definition at line 196 of file tracefile.hh.
Referenced by finalizeTime(), and set_time_unit().