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

Instruction Entry. More...

#include <tarmac_record.hh>

Inheritance diagram for gem5::Trace::TarmacTracerRecord::TraceInstEntry:
gem5::Trace::TarmacBaseRecord::InstEntry gem5::Printable

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, ArmISA::PCState 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
 

Detailed Description

Instruction Entry.

Definition at line 98 of file tarmac_record.hh.

Constructor & Destructor Documentation

◆ TraceInstEntry()

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

Member Function Documentation

◆ print()

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

Member Data Documentation

◆ instCount

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

Number of instructions being traced.

Definition at line 108 of file tarmac_record.hh.

Referenced by TraceInstEntry().

◆ instSize

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

◆ secureMode

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

True if instruction is executed in secure mode.

Definition at line 111 of file tarmac_record.hh.

Referenced by TraceInstEntry().


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

Generated on Tue Sep 21 2021 12:32:32 for gem5 by doxygen 1.8.17