gem5 v24.0.0.0
|
#include <fetch.hh>
Public Member Functions | |
FetchStatGroup (CPU *cpu, Fetch *fetch) | |
Public Member Functions inherited from gem5::statistics::Group | |
Group (Group *parent, const char *name=nullptr) | |
Construct a new statistics group. | |
virtual | ~Group () |
virtual void | regStats () |
Callback to set stat parameters. | |
virtual void | resetStats () |
Callback to reset stats. | |
virtual void | preDumpStats () |
Callback before stats are dumped. | |
void | addStat (statistics::Info *info) |
Register a stat with this group. | |
const std::map< std::string, Group * > & | getStatGroups () const |
Get all child groups associated with this object. | |
const std::vector< Info * > & | getStats () const |
Get all stats associated with this object. | |
void | addStatGroup (const char *name, Group *block) |
Add a stat block as a child of this block. | |
const Info * | resolveStat (std::string name) const |
Resolve a stat by its name within this group. | |
void | mergeStatGroup (Group *block) |
Merge the contents (stats & children) of a block to this block. | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Public Attributes | |
statistics::Scalar | predictedBranches |
Stat for total number of predicted branches. | |
statistics::Scalar | cycles |
Stat for total number of cycles spent fetching. | |
statistics::Scalar | squashCycles |
Stat for total number of cycles spent squashing. | |
statistics::Scalar | tlbCycles |
Stat for total number of cycles spent waiting for translation. | |
statistics::Scalar | idleCycles |
Stat for total number of cycles spent blocked due to other stages in the pipeline. | |
statistics::Scalar | blockedCycles |
Total number of cycles spent blocked. | |
statistics::Scalar | miscStallCycles |
Total number of cycles spent in any other state. | |
statistics::Scalar | pendingDrainCycles |
Total number of cycles spent in waiting for drains. | |
statistics::Scalar | noActiveThreadStallCycles |
Total number of stall cycles caused by no active threads to run. | |
statistics::Scalar | pendingTrapStallCycles |
Total number of stall cycles caused by pending traps. | |
statistics::Scalar | pendingQuiesceStallCycles |
Total number of stall cycles caused by pending quiesce instructions. | |
statistics::Scalar | icacheWaitRetryStallCycles |
Total number of stall cycles caused by I-cache wait retrys. | |
statistics::Scalar | cacheLines |
Stat for total number of fetched cache lines. | |
statistics::Scalar | icacheSquashes |
Total number of outstanding icache accesses that were dropped due to a squash. | |
statistics::Scalar | tlbSquashes |
Total number of outstanding tlb accesses that were dropped due to a squash. | |
statistics::Distribution | nisnDist |
Distribution of number of instructions fetched each cycle. | |
statistics::Formula | idleRate |
Rate of how often fetch was idle. | |
Definition at line 159 of file fetch.cc.
References blockedCycles, cacheLines, cycles, gem5::o3::Fetch::fetch(), gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), icacheSquashes, icacheWaitRetryStallCycles, idleCycles, idleRate, gem5::statistics::Distribution::init(), miscStallCycles, nisnDist, noActiveThreadStallCycles, gem5::statistics::pdf, pendingDrainCycles, pendingQuiesceStallCycles, pendingTrapStallCycles, predictedBranches, gem5::statistics::DataWrap< Derived, InfoProxyType >::prereq(), squashCycles, tlbCycles, and tlbSquashes.
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::blockedCycles |
Total number of cycles spent blocked.
Definition at line 550 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::cacheLines |
Stat for total number of fetched cache lines.
Definition at line 565 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::finishTranslation().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::cycles |
Stat for total number of cycles spent fetching.
Definition at line 539 of file fetch.hh.
Referenced by gem5::o3::Fetch::fetch(), and FetchStatGroup().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::icacheSquashes |
Total number of outstanding icache accesses that were dropped due to a squash.
Definition at line 569 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::processCacheCompletion().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::icacheWaitRetryStallCycles |
Total number of stall cycles caused by I-cache wait retrys.
Definition at line 563 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::idleCycles |
Stat for total number of cycles spent blocked due to other stages in the pipeline.
Definition at line 548 of file fetch.hh.
Referenced by gem5::o3::Fetch::fetch(), and FetchStatGroup().
statistics::Formula gem5::o3::Fetch::FetchStatGroup::idleRate |
Rate of how often fetch was idle.
Definition at line 577 of file fetch.hh.
Referenced by FetchStatGroup().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::miscStallCycles |
Total number of cycles spent in any other state.
Definition at line 552 of file fetch.hh.
Referenced by gem5::o3::Fetch::fetch(), and FetchStatGroup().
statistics::Distribution gem5::o3::Fetch::FetchStatGroup::nisnDist |
Distribution of number of instructions fetched each cycle.
Definition at line 575 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::tick().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::noActiveThreadStallCycles |
Total number of stall cycles caused by no active threads to run.
Definition at line 556 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::pendingDrainCycles |
Total number of cycles spent in waiting for drains.
Definition at line 554 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::pendingQuiesceStallCycles |
Total number of stall cycles caused by pending quiesce instructions.
Definition at line 561 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::pendingTrapStallCycles |
Total number of stall cycles caused by pending traps.
Definition at line 558 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::profileStall().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::predictedBranches |
Stat for total number of predicted branches.
Definition at line 537 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::lookupAndUpdateNextPC().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::squashCycles |
Stat for total number of cycles spent squashing.
Definition at line 541 of file fetch.hh.
Referenced by gem5::o3::Fetch::doSquash(), FetchStatGroup(), and gem5::o3::Fetch::profileStall().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::tlbCycles |
Stat for total number of cycles spent waiting for translation.
Definition at line 543 of file fetch.hh.
Referenced by gem5::o3::Fetch::fetch(), FetchStatGroup(), and gem5::o3::Fetch::profileStall().
statistics::Scalar gem5::o3::Fetch::FetchStatGroup::tlbSquashes |
Total number of outstanding tlb accesses that were dropped due to a squash.
Definition at line 573 of file fetch.hh.
Referenced by FetchStatGroup(), and gem5::o3::Fetch::finishTranslation().