gem5  v20.1.0.0
Struct for a record in the instruction dependency

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. 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
 
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

◆ isComp()

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

Is the record a fetch triggering an Icache request.

Definition at line 300 of file elastic_trace.hh.

References ElasticTrace::TraceInfo::type.

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

◆ isLoad()

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

◆ isStore()

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

◆ TraceInfo()

ElasticTrace::TraceInfo::TraceInfo ( )
inline

Default Constructor.

Definition at line 292 of file elastic_trace.hh.

◆ typeToStr()

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

Return string specifying the type of the node.

Definition at line 902 of file elastic_trace.cc.

References type.

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

Variable Documentation

◆ commit

bool ElasticTrace::TraceInfo::commit

◆ commitTick

Tick ElasticTrace::TraceInfo::commitTick

◆ compDelay

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 278 of file elastic_trace.hh.

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

◆ executeTick

Tick ElasticTrace::TraceInfo::executeTick

◆ instNum

InstSeqNum ElasticTrace::TraceInfo::instNum

◆ numDepts

uint32_t ElasticTrace::TraceInfo::numDepts

◆ pc

Addr ElasticTrace::TraceInfo::pc

◆ physAddr

Addr ElasticTrace::TraceInfo::physAddr

◆ physRegDepList

std::list<InstSeqNum> ElasticTrace::TraceInfo::physRegDepList

◆ reqFlags

Request::FlagsType ElasticTrace::TraceInfo::reqFlags

◆ robDepList

std::list<InstSeqNum> ElasticTrace::TraceInfo::robDepList

◆ size

unsigned ElasticTrace::TraceInfo::size

◆ toCommitTick

Tick ElasticTrace::TraceInfo::toCommitTick

◆ type

RecordType ElasticTrace::TraceInfo::type

◆ virtAddr

Addr ElasticTrace::TraceInfo::virtAddr

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