|
gem5 [DEVELOP-FOR-25.1]
|
#include <bac.hh>
Public Member Functions | |
| BACStats (CPU *cpu, BAC *bac) | |
| 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::Vector | status |
| Stat for total number of cycles spent in each BAC state. | |
| statistics::Scalar | fetchTargets |
| Stat for total number fetch targets created. | |
| statistics::Scalar | branches |
| Total number of branches detected. | |
| statistics::Scalar | predTakenBranches |
| Total number of branches predicted taken. | |
| statistics::Scalar | branchesNotLastuOp |
| Total number of fetched branches. | |
| statistics::Scalar | branchMisspredict |
| Stat for total number of misspredicted instructions. | |
| statistics::Scalar | noBranchMisspredict |
| statistics::Scalar | squashBranchDecode |
| Stat for the number of squashes from decode and commit. | |
| statistics::Scalar | squashBranchCommit |
| statistics::Vector | preDecUpdate |
| Number of post updates. | |
| statistics::Vector | noHistByType |
| Number of branches undetected by the BPU. | |
| statistics::Scalar | typeMissmatch |
| Stat for the two corner cases. | |
| statistics::Scalar | multiBranchInst |
| statistics::Distribution | ftSizeDist |
| Distribution of number of bytes per fetch target. | |
| statistics::Distribution | ftNumber |
Static Public Attributes | |
| static std::string | statusStrings [ThreadStatusMax] |
Definition at line 973 of file bac.cc.
References ADD_STAT, gem5::o3::BAC::BAC(), branches, branchesNotLastuOp, branchMisspredict, gem5::o3::BAC::cpu, fetchTargets, gem5::o3::BAC::fetchTargetWidth, ftNumber, ftSizeDist, gem5::statistics::Group::Group(), gem5::ArmISA::i, gem5::o3::BAC::maxFTPerCycle, multiBranchInst, noBranchMisspredict, noHistByType, gem5::statistics::nozero, gem5::statistics::pdf, preDecUpdate, predTakenBranches, squashBranchCommit, squashBranchDecode, status, statusStrings, gem5::o3::BAC::ThreadStatusMax, gem5::statistics::total, and typeMissmatch.
| statistics::Scalar gem5::o3::BAC::BACStats::branches |
| statistics::Scalar gem5::o3::BAC::BACStats::branchesNotLastuOp |
| statistics::Scalar gem5::o3::BAC::BACStats::branchMisspredict |
Stat for total number of misspredicted instructions.
Definition at line 446 of file bac.hh.
Referenced by BACStats().
| statistics::Scalar gem5::o3::BAC::BACStats::fetchTargets |
Stat for total number fetch targets created.
Definition at line 437 of file bac.hh.
Referenced by BACStats().
| statistics::Distribution gem5::o3::BAC::BACStats::ftNumber |
Definition at line 464 of file bac.hh.
Referenced by BACStats().
| statistics::Distribution gem5::o3::BAC::BACStats::ftSizeDist |
Distribution of number of bytes per fetch target.
Definition at line 463 of file bac.hh.
Referenced by BACStats().
| statistics::Scalar gem5::o3::BAC::BACStats::multiBranchInst |
Definition at line 460 of file bac.hh.
Referenced by BACStats().
| statistics::Scalar gem5::o3::BAC::BACStats::noBranchMisspredict |
Definition at line 447 of file bac.hh.
Referenced by BACStats().
| statistics::Vector gem5::o3::BAC::BACStats::noHistByType |
Number of branches undetected by the BPU.
Definition at line 456 of file bac.hh.
Referenced by BACStats().
| statistics::Vector gem5::o3::BAC::BACStats::preDecUpdate |
| statistics::Scalar gem5::o3::BAC::BACStats::predTakenBranches |
Total number of branches predicted taken.
Definition at line 441 of file bac.hh.
Referenced by BACStats().
| statistics::Scalar gem5::o3::BAC::BACStats::squashBranchCommit |
Definition at line 451 of file bac.hh.
Referenced by BACStats().
| statistics::Scalar gem5::o3::BAC::BACStats::squashBranchDecode |
Stat for the number of squashes from decode and commit.
Definition at line 450 of file bac.hh.
Referenced by BACStats().
| statistics::Vector gem5::o3::BAC::BACStats::status |
Stat for total number of cycles spent in each BAC state.
Definition at line 434 of file bac.hh.
Referenced by BACStats().
|
static |
Definition at line 429 of file bac.hh.
Referenced by BACStats().
| statistics::Scalar gem5::o3::BAC::BACStats::typeMissmatch |