gem5  v20.1.0.0
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Trace::TarmacTracerRecord::TraceInstEntry Struct Reference

Instruction Entry. More...

#include <tarmac_record.hh>

Inheritance diagram for Trace::TarmacTracerRecord::TraceInstEntry:
Trace::TarmacBaseRecord::InstEntry Printable Trace::TarmacTracerRecordV8::TraceInstEntryV8

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
 

Detailed Description

Instruction Entry.

Definition at line 93 of file tarmac_record.hh.

Constructor & Destructor Documentation

◆ TraceInstEntry()

Trace::TarmacTracerRecord::TraceInstEntry::TraceInstEntry ( const TarmacContext tarmCtx,
bool  predicate 
)

Member Function Documentation

◆ print()

void Trace::TarmacTracerRecord::TraceInstEntry::print ( std::ostream &  outs,
int  verbosity = 0,
const std::string &  prefix = "" 
) const
overridevirtual

Member Data Documentation

◆ instCount

uint64_t Trace::TarmacTracerRecord::TraceInstEntry::instCount = 0
staticprotected

Number of instructions being traced.

Definition at line 103 of file tarmac_record.hh.

Referenced by TraceInstEntry().

◆ instSize

uint8_t Trace::TarmacTracerRecord::TraceInstEntry::instSize
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().

◆ secureMode

bool Trace::TarmacTracerRecord::TraceInstEntry::secureMode
protected

True if instruction is executed in secure mode.

Definition at line 106 of file tarmac_record.hh.

Referenced by TraceInstEntry().


The documentation for this struct was generated from the following files:

Generated on Wed Sep 30 2020 14:03:14 for gem5 by doxygen 1.8.17