gem5  v21.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Public Member Functions | Public Attributes | List of all members
DefaultIEW< Impl >::IEWStats Struct Reference
Inheritance diagram for DefaultIEW< Impl >::IEWStats:
Stats::Group

Classes

struct  ExecutedInstStats
 

Public Member Functions

 IEWStats (O3CPU *cpu)
 
- Public Member Functions inherited from Stats::Group
 Group (Group *parent, const char *name=nullptr)
 Construct a new statistics group. More...
 
virtual ~Group ()
 
virtual void regStats ()
 Callback to set stat parameters. More...
 
virtual void resetStats ()
 Callback to reset stats. More...
 
virtual void preDumpStats ()
 Callback before stats are dumped. More...
 
void addStat (Stats::Info *info)
 Register a stat with this group. More...
 
const std::map< std::string, Group * > & getStatGroups () const
 Get all child groups associated with this object. More...
 
const std::vector< Info * > & getStats () const
 Get all stats associated with this object. More...
 
void addStatGroup (const char *name, Group *block)
 Add a stat block as a child of this block. More...
 
const InforesolveStat (std::string name) const
 Resolve a stat by its name within this group. More...
 
void mergeStatGroup (Group *block)
 Merge the contents (stats & children) of a block to this block. More...
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 

Public Attributes

Stats::Scalar idleCycles
 Stat for total number of idle cycles. More...
 
Stats::Scalar squashCycles
 Stat for total number of squashing cycles. More...
 
Stats::Scalar blockCycles
 Stat for total number of blocking cycles. More...
 
Stats::Scalar unblockCycles
 Stat for total number of unblocking cycles. More...
 
Stats::Scalar dispatchedInsts
 Stat for total number of instructions dispatched. More...
 
Stats::Scalar dispSquashedInsts
 Stat for total number of squashed instructions dispatch skips. More...
 
Stats::Scalar dispLoadInsts
 Stat for total number of dispatched load instructions. More...
 
Stats::Scalar dispStoreInsts
 Stat for total number of dispatched store instructions. More...
 
Stats::Scalar dispNonSpecInsts
 Stat for total number of dispatched non speculative instructions. More...
 
Stats::Scalar iqFullEvents
 Stat for number of times the IQ becomes full. More...
 
Stats::Scalar lsqFullEvents
 Stat for number of times the LSQ becomes full. More...
 
Stats::Scalar memOrderViolationEvents
 Stat for total number of memory ordering violation events. More...
 
Stats::Scalar predictedTakenIncorrect
 Stat for total number of incorrect predicted taken branches. More...
 
Stats::Scalar predictedNotTakenIncorrect
 Stat for total number of incorrect predicted not taken branches. More...
 
Stats::Formula branchMispredicts
 Stat for total number of mispredicted branches detected at execute. More...
 
DefaultIEW::IEWStats::ExecutedInstStats executedInstStats
 
Stats::Vector instsToCommit
 Number of instructions sent to commit. More...
 
Stats::Vector writebackCount
 Number of instructions that writeback. More...
 
Stats::Vector producerInst
 Number of instructions that wake consumers. More...
 
Stats::Vector consumerInst
 Number of instructions that wake up from producers. More...
 
Stats::Formula wbRate
 Number of instructions per cycle written back. More...
 
Stats::Formula wbFanout
 Average number of woken instructions per writeback. More...
 

Detailed Description

template<class Impl>
struct DefaultIEW< Impl >::IEWStats

Definition at line 427 of file iew.hh.

Constructor & Destructor Documentation

◆ IEWStats()

template<class Impl >
DefaultIEW< Impl >::IEWStats::IEWStats ( O3CPU cpu)

Member Data Documentation

◆ blockCycles

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::blockCycles

Stat for total number of blocking cycles.

Definition at line 436 of file iew.hh.

Referenced by DefaultIEW< Impl >::dispatch().

◆ branchMispredicts

template<class Impl >
Stats::Formula DefaultIEW< Impl >::IEWStats::branchMispredicts

Stat for total number of mispredicted branches detected at execute.

Definition at line 461 of file iew.hh.

◆ consumerInst

template<class Impl >
Stats::Vector DefaultIEW< Impl >::IEWStats::consumerInst

Number of instructions that wake up from producers.

Definition at line 495 of file iew.hh.

Referenced by DefaultIEW< Impl >::IEWStats::IEWStats(), and DefaultIEW< Impl >::writebackInsts().

◆ dispatchedInsts

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::dispatchedInsts

Stat for total number of instructions dispatched.

Definition at line 440 of file iew.hh.

Referenced by DefaultIEW< Impl >::dispatchInsts().

◆ dispLoadInsts

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::dispLoadInsts

Stat for total number of dispatched load instructions.

Definition at line 444 of file iew.hh.

Referenced by DefaultIEW< Impl >::dispatchInsts().

◆ dispNonSpecInsts

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::dispNonSpecInsts

Stat for total number of dispatched non speculative instructions.

Definition at line 448 of file iew.hh.

Referenced by DefaultIEW< Impl >::dispatchInsts().

◆ dispSquashedInsts

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::dispSquashedInsts

Stat for total number of squashed instructions dispatch skips.

Definition at line 442 of file iew.hh.

Referenced by DefaultIEW< Impl >::dispatchInsts().

◆ dispStoreInsts

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::dispStoreInsts

Stat for total number of dispatched store instructions.

Definition at line 446 of file iew.hh.

Referenced by DefaultIEW< Impl >::dispatchInsts().

◆ executedInstStats

template<class Impl >
DefaultIEW::IEWStats::ExecutedInstStats DefaultIEW< Impl >::IEWStats::executedInstStats

◆ idleCycles

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::idleCycles

Stat for total number of idle cycles.

Definition at line 432 of file iew.hh.

◆ instsToCommit

template<class Impl >
Stats::Vector DefaultIEW< Impl >::IEWStats::instsToCommit

Number of instructions sent to commit.

Definition at line 489 of file iew.hh.

Referenced by DefaultIEW< Impl >::IEWStats::IEWStats(), and DefaultIEW< Impl >::writebackInsts().

◆ iqFullEvents

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::iqFullEvents

Stat for number of times the IQ becomes full.

Definition at line 450 of file iew.hh.

Referenced by DefaultIEW< Impl >::dispatchInsts().

◆ lsqFullEvents

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::lsqFullEvents

Stat for number of times the LSQ becomes full.

Definition at line 452 of file iew.hh.

Referenced by DefaultIEW< Impl >::dispatchInsts().

◆ memOrderViolationEvents

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::memOrderViolationEvents

Stat for total number of memory ordering violation events.

Definition at line 454 of file iew.hh.

Referenced by DefaultIEW< Impl >::executeInsts().

◆ predictedNotTakenIncorrect

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::predictedNotTakenIncorrect

Stat for total number of incorrect predicted not taken branches.

Definition at line 458 of file iew.hh.

Referenced by DefaultIEW< Impl >::checkMisprediction(), and DefaultIEW< Impl >::executeInsts().

◆ predictedTakenIncorrect

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::predictedTakenIncorrect

Stat for total number of incorrect predicted taken branches.

Definition at line 456 of file iew.hh.

Referenced by DefaultIEW< Impl >::checkMisprediction(), and DefaultIEW< Impl >::executeInsts().

◆ producerInst

template<class Impl >
Stats::Vector DefaultIEW< Impl >::IEWStats::producerInst

Number of instructions that wake consumers.

Definition at line 493 of file iew.hh.

Referenced by DefaultIEW< Impl >::IEWStats::IEWStats(), and DefaultIEW< Impl >::writebackInsts().

◆ squashCycles

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::squashCycles

Stat for total number of squashing cycles.

Definition at line 434 of file iew.hh.

Referenced by DefaultIEW< Impl >::dispatch().

◆ unblockCycles

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::unblockCycles

Stat for total number of unblocking cycles.

Definition at line 438 of file iew.hh.

Referenced by DefaultIEW< Impl >::dispatch().

◆ wbFanout

template<class Impl >
Stats::Formula DefaultIEW< Impl >::IEWStats::wbFanout

Average number of woken instructions per writeback.

Definition at line 499 of file iew.hh.

Referenced by DefaultIEW< Impl >::IEWStats::IEWStats().

◆ wbRate

template<class Impl >
Stats::Formula DefaultIEW< Impl >::IEWStats::wbRate

Number of instructions per cycle written back.

Definition at line 497 of file iew.hh.

Referenced by DefaultIEW< Impl >::IEWStats::IEWStats().

◆ writebackCount

template<class Impl >
Stats::Vector DefaultIEW< Impl >::IEWStats::writebackCount

Number of instructions that writeback.

Definition at line 491 of file iew.hh.

Referenced by DefaultIEW< Impl >::IEWStats::IEWStats(), and DefaultIEW< Impl >::writebackInsts().


The documentation for this struct was generated from the following files:

Generated on Tue Mar 23 2021 19:41:34 for gem5 by doxygen 1.8.17