|
gem5
v19.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 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... | |
Instruction Entry.
Definition at line 95 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(), ArmISA::inSecureState(), instCount, instSize, ArmISA::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::TarmacBaseRecord::RegEntry::isetstate, Trace::iSetStateToStr(), ArmISA::mode, ArmISA::opcode, and Trace::opModeToStr().
|
staticprotected |
Number of instructions being traced.
Definition at line 105 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 114 of file tarmac_record.hh.
Referenced by TraceInstEntry().
|
protected |
True if instruction is executed in secure mode.
Definition at line 108 of file tarmac_record.hh.
Referenced by TraceInstEntry().