gem5
v22.0.0.2
|
Instruction Entry. More...
#include <tarmac_record.hh>
Public Member Functions | |
TraceInstEntry (const TarmacContext &tarmCtx, bool predicate) | |
virtual void | print (std::ostream &outs, int verbosity=0, const std::string &prefix="") const override |
Public Member Functions inherited from gem5::Trace::TarmacBaseRecord::InstEntry | |
InstEntry ()=default | |
InstEntry (ThreadContext *thread, const PCStateBase &pc, const StaticInstPtr staticInst, bool predicate) | |
Public Member Functions inherited from gem5::Printable | |
Printable () | |
virtual | ~Printable () |
Protected Attributes | |
bool | secureMode |
True if instruction is executed in secure mode. More... | |
uint8_t | instSize |
Instruction size: 16 for 16-bit Thumb Instruction 32 otherwise (ARM and BigThumb) More... | |
Static Protected Attributes | |
static uint64_t | instCount = 0 |
Number of instructions being traced. More... | |
Additional Inherited Members | |
Public Attributes inherited from gem5::Trace::TarmacBaseRecord::InstEntry | |
bool | taken |
Addr | addr |
ArmISA::MachInst | opcode |
std::string | disassemble |
ISetState | isetstate |
ArmISA::OperatingMode | mode |
Instruction Entry.
Definition at line 98 of file tarmac_record.hh.
gem5::Trace::TarmacTracerRecord::TraceInstEntry::TraceInstEntry | ( | const TarmacContext & | tarmCtx, |
bool | predicate | ||
) |
Definition at line 123 of file tarmac_record.cc.
References gem5::RefCountingPtr< T >::get(), instCount, instSize, gem5::ArmISA::isSecure(), gem5::Trace::TarmacBaseRecord::InstEntry::opcode, secureMode, gem5::Trace::TarmacContext::staticInst, and gem5::Trace::TarmacContext::thread.
|
overridevirtual |
Implements gem5::Printable.
Definition at line 413 of file tarmac_record.cc.
References gem5::Trace::InstRecord::addr, gem5::ccprintf(), gem5::csprintf(), gem5::curTick(), gem5::Trace::iSetStateToStr(), gem5::ArmISA::mode, gem5::ArmISA::opcode, and gem5::Trace::opModeToStr().
|
staticprotected |
Number of instructions being traced.
Definition at line 108 of file tarmac_record.hh.
Referenced by TraceInstEntry().
|
protected |
Instruction size: 16 for 16-bit Thumb Instruction 32 otherwise (ARM and BigThumb)
Definition at line 117 of file tarmac_record.hh.
Referenced by TraceInstEntry().
|
protected |
True if instruction is executed in secure mode.
Definition at line 111 of file tarmac_record.hh.
Referenced by TraceInstEntry().