gem5  v21.1.0.2
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 gem5::o3::ElasticTrace::TraceInfo::instNum
 
RecordType gem5::o3::ElasticTrace::TraceInfo::type
 The type of trace record for the instruction node. More...
 
Tick gem5::o3::ElasticTrace::TraceInfo::executeTick
 
Tick gem5::o3::ElasticTrace::TraceInfo::toCommitTick
 
Tick gem5::o3::ElasticTrace::TraceInfo::commitTick
 
bool gem5::o3::ElasticTrace::TraceInfo::commit
 
std::list< InstSeqNumgem5::o3::ElasticTrace::TraceInfo::robDepList
 
std::list< InstSeqNumgem5::o3::ElasticTrace::TraceInfo::physRegDepList
 
int64_t gem5::o3::ElasticTrace::TraceInfo::compDelay
 Computational delay after the last dependent inst. More...
 
uint32_t gem5::o3::ElasticTrace::TraceInfo::numDepts
 
Addr gem5::o3::ElasticTrace::TraceInfo::pc
 
Request::FlagsType gem5::o3::ElasticTrace::TraceInfo::reqFlags
 
Addr gem5::o3::ElasticTrace::TraceInfo::physAddr
 
Addr gem5::o3::ElasticTrace::TraceInfo::virtAddr
 
unsigned gem5::o3::ElasticTrace::TraceInfo::size
 
 gem5::o3::ElasticTrace::TraceInfo::TraceInfo ()
 Default Constructor. More...
 
bool gem5::o3::ElasticTrace::TraceInfo::isLoad () const
 Is the record a load. More...
 
bool gem5::o3::ElasticTrace::TraceInfo::isStore () const
 Is the record a store. More...
 
bool gem5::o3::ElasticTrace::TraceInfo::isComp () const
 Is the record a fetch triggering an Icache request. More...
 
const std::string & gem5::o3::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 gem5::o3::ElasticTrace::TraceInfo::isComp ( ) const
inline

Is the record a fetch triggering an Icache request.

Definition at line 306 of file elastic_trace.hh.

References gem5::o3::ElasticTrace::TraceInfo::type.

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

◆ isLoad()

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

◆ isStore()

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

◆ TraceInfo()

gem5::o3::ElasticTrace::TraceInfo::TraceInfo ( )
inline

Default Constructor.

Definition at line 298 of file elastic_trace.hh.

References gem5::INVALID.

◆ typeToStr()

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

Return string specifying the type of the node.

Definition at line 918 of file elastic_trace.cc.

References gem5::X86ISA::type.

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

Variable Documentation

◆ commit

bool gem5::o3::ElasticTrace::TraceInfo::commit

◆ commitTick

Tick gem5::o3::ElasticTrace::TraceInfo::commitTick

◆ compDelay

int64_t gem5::o3::ElasticTrace::TraceInfo::compDelay

Computational delay after the last dependent inst.

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

Definition at line 284 of file elastic_trace.hh.

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

◆ executeTick

Tick gem5::o3::ElasticTrace::TraceInfo::executeTick

◆ instNum

InstSeqNum gem5::o3::ElasticTrace::TraceInfo::instNum

◆ numDepts

uint32_t gem5::o3::ElasticTrace::TraceInfo::numDepts

◆ pc

Addr gem5::o3::ElasticTrace::TraceInfo::pc

◆ physAddr

Addr gem5::o3::ElasticTrace::TraceInfo::physAddr

◆ physRegDepList

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

◆ reqFlags

Request::FlagsType gem5::o3::ElasticTrace::TraceInfo::reqFlags

◆ robDepList

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

◆ size

unsigned gem5::o3::ElasticTrace::TraceInfo::size

◆ toCommitTick

Tick gem5::o3::ElasticTrace::TraceInfo::toCommitTick

◆ type

RecordType gem5::o3::ElasticTrace::TraceInfo::type

◆ virtAddr

Addr gem5::o3::ElasticTrace::TraceInfo::virtAddr

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