gem5  v19.0.0.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Trace::TarmacTracerRecordV8::TraceRegEntryV8 Struct Reference

Register entry for v8 records. More...

#include <tarmac_record_v8.hh>

Inheritance diagram for Trace::TarmacTracerRecordV8::TraceRegEntryV8:
Trace::TarmacTracerRecordV8::TraceEntryV8

Public Member Functions

 TraceRegEntryV8 (const TarmacContext &tarmCtx, const RegId &reg)
 
virtual void print (std::ostream &outs, int verbosity=0, const std::string &prefix="") const override
 
- Public Member Functions inherited from Trace::TarmacTracerRecordV8::TraceEntryV8
 TraceEntryV8 (std::string _cpuName)
 

Protected Member Functions

void updateInt (const TarmacContext &tarmCtx, RegIndex regRelIdx) override
 
void updateMisc (const TarmacContext &tarmCtx, RegIndex regRelIdx) override
 
void updateVec (const TarmacContext &tarmCtx, RegIndex regRelIdx) override
 
void updatePred (const TarmacContext &tarmCtx, RegIndex regRelIdx) override
 
std::string formatReg () const
 Returning a string which contains the formatted register value: transformed in hex, 0 padded or/and split in chunks separated by underscores in case of vector register. More...
 

Protected Attributes

uint16_t regWidth
 Size in bits of arch register. More...
 
- Protected Attributes inherited from Trace::TarmacTracerRecordV8::TraceEntryV8
std::string cpuName
 

Detailed Description

Register entry for v8 records.

Definition at line 95 of file tarmac_record_v8.hh.

Constructor & Destructor Documentation

◆ TraceRegEntryV8()

Trace::TarmacTracerRecordV8::TraceRegEntryV8::TraceRegEntryV8 ( const TarmacContext tarmCtx,
const RegId reg 
)

Definition at line 77 of file tarmac_record_v8.cc.

Member Function Documentation

◆ formatReg()

std::string Trace::TarmacTracerRecordV8::TraceRegEntryV8::formatReg ( ) const
protected

Returning a string which contains the formatted register value: transformed in hex, 0 padded or/and split in chunks separated by underscores in case of vector register.

Returns
str formatted string

Definition at line 301 of file tarmac_record_v8.cc.

References csprintf(), and regWidth.

Referenced by print().

◆ print()

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

◆ updateInt()

void Trace::TarmacTracerRecordV8::TraceRegEntryV8::updateInt ( const TarmacContext tarmCtx,
RegIndex  regRelIdx 
)
overrideprotected

◆ updateMisc()

void Trace::TarmacTracerRecordV8::TraceRegEntryV8::updateMisc ( const TarmacContext tarmCtx,
RegIndex  regRelIdx 
)
overrideprotected

◆ updatePred()

void Trace::TarmacTracerRecordV8::TraceRegEntryV8::updatePred ( const TarmacContext tarmCtx,
RegIndex  regRelIdx 
)
overrideprotected

◆ updateVec()

void Trace::TarmacTracerRecordV8::TraceRegEntryV8::updateVec ( const TarmacContext tarmCtx,
RegIndex  regRelIdx 
)
overrideprotected

Member Data Documentation

◆ regWidth

uint16_t Trace::TarmacTracerRecordV8::TraceRegEntryV8::regWidth
protected

Size in bits of arch register.

Definition at line 127 of file tarmac_record_v8.hh.

Referenced by formatReg(), updateInt(), updateMisc(), updatePred(), and updateVec().


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

Generated on Fri Feb 28 2020 16:27:27 for gem5 by doxygen 1.8.13