gem5
v20.1.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 | |
OutputStream * | _os |
uint64_t | timeUnitTicks |
double | timeUnitValue |
::sc_core::sc_time_unit | timeUnitUnit |
bool | _traceDeltas |
Definition at line 190 of file tracefile.hh.
|
protected |
Definition at line 43 of file tracefile.cc.
sc_gem5::TraceFile::~TraceFile | ( | ) |
Definition at line 48 of file tracefile.cc.
References _os, OutputDirectory::close(), and simout.
|
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 75 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 56 of file tracefile.cc.
References _os, ArmISA::d, ArmISA::i, OutputStream::name(), sc_core::SC_FS, SC_REPORT_INFO, sc_core::SC_SEC, ArmISA::ss, sc_gem5::TimeUnitNames, sc_gem5::TimeUnitScale, timeUnitUnit, timeUnitValue, and MipsISA::tu.
|
protected |
Definition at line 53 of file tracefile.cc.
References _os, and 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 207 of file tracefile.hh.
References _traceDeltas, and MipsISA::on.
|
pure virtual |
Implemented in sc_gem5::VcdTraceFile.
|
protected |
Definition at line 193 of file tracefile.hh.
Referenced by set_time_unit(), stream(), and ~TraceFile().
|
protected |
Definition at line 198 of file tracefile.hh.
Referenced by sc_gem5::VcdTraceFile::trace(), and traceDeltas().
|
protected |
Definition at line 194 of file tracefile.hh.
Referenced by finalizeTime(), sc_gem5::VcdTraceFile::initialize(), sc_gem5::VcdTraceFile::trace(), and sc_gem5::VcdTraceFile::~VcdTraceFile().
|
protected |
Definition at line 196 of file tracefile.hh.
Referenced by finalizeTime(), and set_time_unit().
|
protected |
Definition at line 195 of file tracefile.hh.
Referenced by finalizeTime(), and set_time_unit().