gem5
|
trace. More...
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.
|
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().
|
inline |
Is the record a load.
Definition at line 305 of file elastic_trace.hh.
References ElasticTrace::TraceInfo::type.
Referenced by ElasticTrace::compDelayRob(), ElasticTrace::TraceInfo::getExecuteTick(), ElasticTrace::hasLoadBeenSent(), ElasticTrace::hasLoadCompleted(), ElasticTrace::updateIssueOrderDep(), and ElasticTrace::writeDepTrace().
|
inline |
Is the record a store.
Definition at line 307 of file elastic_trace.hh.
References ElasticTrace::TraceInfo::type.
Referenced by ElasticTrace::compDelayPhysRegDep(), ElasticTrace::compDelayRob(), ElasticTrace::TraceInfo::getExecuteTick(), ElasticTrace::hasStoreCommitted(), ElasticTrace::updateCommitOrderDep(), ElasticTrace::updateIssueOrderDep(), and ElasticTrace::writeDepTrace().
|
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().
uint32_t ElasticTrace::TraceInfo::asid |
Definition at line 297 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), and ElasticTrace::writeDepTrace().
bool ElasticTrace::TraceInfo::commit |
Definition at line 276 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), ElasticTrace::hasLoadBeenSent(), and ElasticTrace::hasLoadCompleted().
Tick ElasticTrace::TraceInfo::commitTick |
Definition at line 274 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), ElasticTrace::compDelayPhysRegDep(), ElasticTrace::compDelayRob(), ElasticTrace::TraceInfo::getExecuteTick(), ElasticTrace::hasStoreCommitted(), and ElasticTrace::writeDepTrace().
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 |
Definition at line 270 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), ElasticTrace::compDelayRob(), ElasticTrace::TraceInfo::getExecuteTick(), ElasticTrace::hasLoadBeenSent(), ElasticTrace::updateIssueOrderDep(), and ElasticTrace::writeDepTrace().
InstSeqNum ElasticTrace::TraceInfo::instNum |
Definition at line 266 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), ElasticTrace::assignRobDep(), ElasticTrace::compDelayPhysRegDep(), ElasticTrace::compDelayRob(), and ElasticTrace::writeDepTrace().
uint32_t ElasticTrace::TraceInfo::numDepts |
Definition at line 287 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), ElasticTrace::assignRobDep(), and ElasticTrace::writeDepTrace().
Addr ElasticTrace::TraceInfo::pc |
Definition at line 289 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), and ElasticTrace::writeDepTrace().
Addr ElasticTrace::TraceInfo::physAddr |
Definition at line 293 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), and ElasticTrace::writeDepTrace().
std::list<InstSeqNum> ElasticTrace::TraceInfo::physRegDepList |
Definition at line 280 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), and ElasticTrace::writeDepTrace().
Request::FlagsType ElasticTrace::TraceInfo::reqFlags |
Definition at line 291 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), and ElasticTrace::writeDepTrace().
std::list<InstSeqNum> ElasticTrace::TraceInfo::robDepList |
Definition at line 278 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), ElasticTrace::assignRobDep(), and ElasticTrace::writeDepTrace().
unsigned ElasticTrace::TraceInfo::size |
Definition at line 299 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), and ElasticTrace::writeDepTrace().
Tick ElasticTrace::TraceInfo::toCommitTick |
Definition at line 272 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), ElasticTrace::compDelayPhysRegDep(), ElasticTrace::compDelayRob(), ElasticTrace::TraceInfo::getExecuteTick(), ElasticTrace::hasCompCompleted(), ElasticTrace::hasLoadCompleted(), ElasticTrace::updateIssueOrderDep(), and ElasticTrace::writeDepTrace().
RecordType ElasticTrace::TraceInfo::type |
The type of trace record for the instruction node.
Definition at line 268 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), ElasticTrace::TraceInfo::isComp(), ElasticTrace::TraceInfo::isLoad(), ElasticTrace::TraceInfo::isStore(), and ElasticTrace::writeDepTrace().
Addr ElasticTrace::TraceInfo::virtAddr |
Definition at line 295 of file elastic_trace.hh.
Referenced by ElasticTrace::addDepTraceRecord(), and ElasticTrace::writeDepTrace().