gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Struct for a record in the instruction dependency

trace. More...

InstSeqNum ElasticTrace::TraceInfo::instNum
 
RecordType ElasticTrace::TraceInfo::type
 The type of trace record for the instruction node. More...
 
Tick ElasticTrace::TraceInfo::executeTick
 
Tick ElasticTrace::TraceInfo::toCommitTick
 
Tick ElasticTrace::TraceInfo::commitTick
 
bool ElasticTrace::TraceInfo::commit
 
std::list< InstSeqNumElasticTrace::TraceInfo::robDepList
 
std::list< InstSeqNumElasticTrace::TraceInfo::physRegDepList
 
int64_t ElasticTrace::TraceInfo::compDelay
 Computational delay after the last dependent inst. More...
 
uint32_t ElasticTrace::TraceInfo::numDepts
 
Addr ElasticTrace::TraceInfo::pc
 
Request::FlagsType ElasticTrace::TraceInfo::reqFlags
 
Addr ElasticTrace::TraceInfo::physAddr
 
Addr ElasticTrace::TraceInfo::virtAddr
 
uint32_t ElasticTrace::TraceInfo::asid
 
unsigned ElasticTrace::TraceInfo::size
 
 ElasticTrace::TraceInfo::TraceInfo ()
 Default Constructor. More...
 
bool ElasticTrace::TraceInfo::isLoad () const
 Is the record a load. More...
 
bool ElasticTrace::TraceInfo::isStore () const
 Is the record a store. More...
 
bool ElasticTrace::TraceInfo::isComp () const
 Is the record a fetch triggering an Icache request. More...
 
const std::string & ElasticTrace::TraceInfo::typeToStr () const
 Return string specifying the type of the node. More...
 

Detailed Description

trace.

All information required to process and calculate the computational delay is stored in TraceInfo objects. The memory request fields for a load or store instruction are also included here. Note that the structure TraceInfo does not store pointers to children or parents. The dependency trace is maintained as an ordered collection of records for writing to the output trace and not as a tree data structure.

Function Documentation

bool ElasticTrace::TraceInfo::isComp ( ) const
inline

Is the record a fetch triggering an Icache request.

Definition at line 309 of file elastic_trace.hh.

References ElasticTrace::TraceInfo::type.

Referenced by ElasticTrace::compDelayRob(), ElasticTrace::hasCompCompleted(), and ElasticTrace::writeDepTrace().

bool ElasticTrace::TraceInfo::isLoad ( ) const
inline
bool ElasticTrace::TraceInfo::isStore ( ) const
inline
ElasticTrace::TraceInfo::TraceInfo ( )
inline

Default Constructor.

Definition at line 301 of file elastic_trace.hh.

const std::string & ElasticTrace::TraceInfo::typeToStr ( ) const

Return string specifying the type of the node.

Definition at line 927 of file elastic_trace.cc.

References X86ISA::type.

Referenced by ElasticTrace::assignRobDep(), and ElasticTrace::writeDepTrace().

Variable Documentation

uint32_t ElasticTrace::TraceInfo::asid
bool ElasticTrace::TraceInfo::commit
Tick ElasticTrace::TraceInfo::commitTick
int64_t ElasticTrace::TraceInfo::compDelay

Computational delay after the last dependent inst.

completed. A value of -1 which means instruction has no dependencies.

Definition at line 285 of file elastic_trace.hh.

Referenced by ElasticTrace::addDepTraceRecord(), ElasticTrace::compDelayPhysRegDep(), ElasticTrace::compDelayRob(), and ElasticTrace::writeDepTrace().

Tick ElasticTrace::TraceInfo::executeTick
InstSeqNum ElasticTrace::TraceInfo::instNum
uint32_t ElasticTrace::TraceInfo::numDepts
Addr ElasticTrace::TraceInfo::pc
Addr ElasticTrace::TraceInfo::physAddr
std::list<InstSeqNum> ElasticTrace::TraceInfo::physRegDepList
Request::FlagsType ElasticTrace::TraceInfo::reqFlags
std::list<InstSeqNum> ElasticTrace::TraceInfo::robDepList
unsigned ElasticTrace::TraceInfo::size
Tick ElasticTrace::TraceInfo::toCommitTick
RecordType ElasticTrace::TraceInfo::type
Addr ElasticTrace::TraceInfo::virtAddr

Generated on Fri Jun 9 2017 13:03:59 for gem5 by doxygen 1.8.6