gem5 v24.0.0.0
|
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. | |
uint8_t | instSize |
Instruction size: 16 for 16-bit Thumb Instruction 32 otherwise (ARM and BigThumb) | |
std::string | disassemble |
Instruction disassembly. | |
Static Protected Attributes | |
static uint64_t | instCount = 0 |
Number of instructions being traced. | |
Additional Inherited Members | |
Public Attributes inherited from gem5::trace::TarmacBaseRecord::InstEntry | |
bool | taken |
Addr | addr |
ArmISA::MachInst | opcode |
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::ArmISA::c, disassemble, gem5::ArmISA::ArmStaticInst::encoding(), 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.
Reimplemented in gem5::trace::TarmacTracerRecordV8::TraceInstEntryV8.
Definition at line 402 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().
|
protected |
Instruction disassembly.
Definition at line 120 of file tarmac_record.hh.
Referenced by TraceInstEntry().
|
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().