gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Trace::IntelTraceRecord Class Reference

#include <inteltrace.hh>

Inheritance diagram for Trace::IntelTraceRecord:
Trace::InstRecord

Public Member Functions

 IntelTraceRecord (Tick _when, ThreadContext *_thread, const StaticInstPtr _staticInst, TheISA::PCState _pc, const StaticInstPtr _macroStaticInst=NULL)
 
void dump ()
 
- Public Member Functions inherited from Trace::InstRecord
 InstRecord (Tick _when, ThreadContext *_thread, const StaticInstPtr _staticInst, TheISA::PCState _pc, const StaticInstPtr _macroStaticInst=NULL)
 
virtual ~InstRecord ()
 
void setWhen (Tick new_when)
 
void setMem (Addr a, Addr s, unsigned f)
 
void setData (Twin64_t d)
 
void setData (Twin32_t d)
 
void setData (uint64_t d)
 
void setData (uint32_t d)
 
void setData (uint16_t d)
 
void setData (uint8_t d)
 
void setData (int64_t d)
 
void setData (int32_t d)
 
void setData (int16_t d)
 
void setData (int8_t d)
 
void setData (double d)
 
void setFetchSeq (InstSeqNum seq)
 
void setCPSeq (InstSeqNum seq)
 
void setPredicate (bool val)
 
Tick getWhen () const
 
ThreadContextgetThread () const
 
StaticInstPtr getStaticInst () const
 
TheISA::PCState getPCState () const
 
StaticInstPtr getMacroStaticInst () const
 
Addr getAddr () const
 
Addr getSize () const
 
unsigned getFlags () const
 
bool getMemValid () const
 
uint64_t getIntData () const
 
double getFloatData () const
 
int getDataStatus () const
 
InstSeqNum getFetchSeq () const
 
bool getFetchSeqValid () const
 
InstSeqNum getCpSeq () const
 
bool getCpSeqValid () const
 

Additional Inherited Members

- Protected Types inherited from Trace::InstRecord
enum  {
  DataInvalid = 0, DataInt8 = 1, DataInt16 = 2, DataInt32 = 4,
  DataInt64 = 8, DataDouble = 3
}
 What size of data was written? More...
 
- Protected Attributes inherited from Trace::InstRecord
Tick when
 
ThreadContextthread
 
StaticInstPtr staticInst
 
TheISA::PCState pc
 
StaticInstPtr macroStaticInst
 
Addr addr
 The address that was accessed. More...
 
Addr size
 The size of the memory request. More...
 
unsigned flags
 The flags that were assigned to the request. More...
 
union {
   uint64_t   as_int
 
   double   as_double
 
data
 
InstSeqNum fetch_seq
 
InstSeqNum cp_seq
 
enum Trace::InstRecord:: { ... }  data_status
 What size of data was written? More...
 
bool mem_valid
 Are the memory fields in the record valid? More...
 
bool fetch_seq_valid
 Are the fetch sequence number fields valid? More...
 
bool cp_seq_valid
 Are the commit sequence number fields valid? More...
 
bool predicate
 is the predicate for execution this inst true or false (not execed)? More...
 

Detailed Description

Definition at line 45 of file inteltrace.hh.

Constructor & Destructor Documentation

Trace::IntelTraceRecord::IntelTraceRecord ( Tick  _when,
ThreadContext _thread,
const StaticInstPtr  _staticInst,
TheISA::PCState  _pc,
const StaticInstPtr  _macroStaticInst = NULL 
)
inline

Definition at line 48 of file inteltrace.hh.

Member Function Documentation

void Trace::IntelTraceRecord::dump ( )
virtual

Implements Trace::InstRecord.

Definition at line 48 of file inteltrace.cc.

References addr, ccprintf(), Trace::output(), and pc.


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

Generated on Fri Jun 9 2017 13:04:41 for gem5 by doxygen 1.8.6