gem5 v24.0.0.0
Loading...
Searching...
No Matches
Struct for a record in the instruction dependency

trace. More...

InstSeqNum gem5::o3::ElasticTrace::TraceInfo::instNum
 
RecordType gem5::o3::ElasticTrace::TraceInfo::type
 The type of trace record for the instruction node.
 
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.
 
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.
 
bool gem5::o3::ElasticTrace::TraceInfo::isLoad () const
 Is the record a load.
 
bool gem5::o3::ElasticTrace::TraceInfo::isStore () const
 Is the record a store.
 
bool gem5::o3::ElasticTrace::TraceInfo::isComp () const
 Is the record a fetch triggering an Icache request.
 
const std::string & gem5::o3::ElasticTrace::TraceInfo::typeToStr () const
 Return string specifying the type of the node.
 

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 304 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()

◆ isStore()

◆ TraceInfo()

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

Default Constructor.

Definition at line 296 of file elastic_trace.hh.

◆ typeToStr()

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

Return string specifying the type of the node.

Definition at line 913 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

◆ 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 282 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

◆ 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

◆ size

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

◆ toCommitTick

◆ type

◆ virtAddr

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

Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0