|
gem5 [DEVELOP-FOR-25.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 158 of file fetch.cc.
References ADD_STAT, blockedCycles, cacheLines, gem5::o3::Fetch::cpu, cycles, gem5::o3::Fetch::Fetch(), gem5::o3::Fetch::fetch(), gem5::statistics::Group::Group(), icacheSquashes, icacheWaitRetryStallCycles, idleCycles, idleRate, miscStallCycles, nisnDist, noActiveThreadStallCycles, gem5::statistics::pdf, pendingDrainCycles, pendingQuiesceStallCycles, pendingTrapStallCycles, predictedBranches, squashCycles, tlbCycles, and tlbSquashes.
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::blockedCycles |
Total number of cycles spent blocked.
Definition at line 553 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::cacheLines |
Stat for total number of fetched cache lines.
Definition at line 568 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::cycles |
Stat for total number of cycles spent fetching.
Definition at line 542 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::icacheSquashes |
Total number of outstanding icache accesses that were dropped due to a squash.
Definition at line 572 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::icacheWaitRetryStallCycles |
Total number of stall cycles caused by I-cache wait retrys.
Definition at line 566 of file fetch.hh.
Referenced by FetchStatGroup().
| 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 551 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Formula gem5::o3::Fetch::FetchStatGroup::idleRate |
Rate of how often fetch was idle.
Definition at line 580 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 555 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Distribution gem5::o3::Fetch::FetchStatGroup::nisnDist |
Distribution of number of instructions fetched each cycle.
Definition at line 578 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::noActiveThreadStallCycles |
Total number of stall cycles caused by no active threads to run.
Definition at line 559 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::pendingDrainCycles |
Total number of cycles spent in waiting for drains.
Definition at line 557 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::pendingQuiesceStallCycles |
Total number of stall cycles caused by pending quiesce instructions.
Definition at line 564 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::pendingTrapStallCycles |
Total number of stall cycles caused by pending traps.
Definition at line 561 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::predictedBranches |
Stat for total number of predicted branches.
Definition at line 540 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::squashCycles |
Stat for total number of cycles spent squashing.
Definition at line 544 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::tlbCycles |
Stat for total number of cycles spent waiting for translation.
Definition at line 546 of file fetch.hh.
Referenced by FetchStatGroup().
| statistics::Scalar gem5::o3::Fetch::FetchStatGroup::tlbSquashes |
Total number of outstanding tlb accesses that were dropped due to a squash.
Definition at line 576 of file fetch.hh.
Referenced by FetchStatGroup().