gem5
v20.1.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 Trace::TarmacBaseRecord::InstEntry | |
InstEntry ()=default | |
InstEntry (ThreadContext *thread, ArmISA::PCState pc, const StaticInstPtr staticInst, bool predicate) | |
Public Member Functions inherited from 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 Trace::TarmacBaseRecord::InstEntry | |
bool | taken |
Addr | addr |
ArmISA::MachInst | opcode |
std::string | disassemble |
ISetState | isetstate |
ArmISA::OperatingMode | mode |
Instruction Entry.
Definition at line 93 of file tarmac_record.hh.
Trace::TarmacTracerRecord::TraceInstEntry::TraceInstEntry | ( | const TarmacContext & | tarmCtx, |
bool | predicate | ||
) |
Definition at line 118 of file tarmac_record.cc.
References RefCountingPtr< T >::get(), instCount, instSize, ArmISA::isSecure(), Trace::TarmacBaseRecord::InstEntry::opcode, secureMode, Trace::TarmacContext::staticInst, and Trace::TarmacContext::thread.
|
overridevirtual |
Implements Printable.
Reimplemented in Trace::TarmacTracerRecordV8::TraceInstEntryV8.
Definition at line 409 of file tarmac_record.cc.
References Trace::InstRecord::addr, ccprintf(), csprintf(), curTick(), Trace::iSetStateToStr(), ArmISA::mode, ArmISA::opcode, and Trace::opModeToStr().
|
staticprotected |
Number of instructions being traced.
Definition at line 103 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 112 of file tarmac_record.hh.
Referenced by TraceInstEntry().
|
protected |
True if instruction is executed in secure mode.
Definition at line 106 of file tarmac_record.hh.
Referenced by TraceInstEntry().