gem5  v21.0.1.0
Public Member Functions | Public Attributes | List of all members
DefaultIEW< Impl >::IEWStats::ExecutedInstStats Struct Reference

#include <iew.hh>

Inheritance diagram for DefaultIEW< Impl >::IEWStats::ExecutedInstStats:
Stats::Group

Public Member Functions

 ExecutedInstStats (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 numInsts
 Stat for total number of executed instructions. More...
 
Stats::Vector numLoadInsts
 Stat for total number of executed load instructions. More...
 
Stats::Scalar numSquashedInsts
 Stat for total number of squashed instructions skipped at execute. More...
 
Stats::Vector numSwp
 Number of executed software prefetches. More...
 
Stats::Vector numNop
 Number of executed nops. More...
 
Stats::Vector numRefs
 Number of executed meomory references. More...
 
Stats::Vector numBranches
 Number of executed branches. More...
 
Stats::Formula numStoreInsts
 Number of executed store instructions. More...
 
Stats::Formula numRate
 Number of instructions executed per cycle. More...
 

Detailed Description

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

Definition at line 463 of file iew.hh.

Constructor & Destructor Documentation

◆ ExecutedInstStats()

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

Member Data Documentation

◆ numBranches

template<class Impl >
Stats::Vector DefaultIEW< Impl >::IEWStats::ExecutedInstStats::numBranches

Number of executed branches.

Definition at line 481 of file iew.hh.

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

◆ numInsts

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::ExecutedInstStats::numInsts

Stat for total number of executed instructions.

Definition at line 468 of file iew.hh.

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

◆ numLoadInsts

template<class Impl >
Stats::Vector DefaultIEW< Impl >::IEWStats::ExecutedInstStats::numLoadInsts

Stat for total number of executed load instructions.

Definition at line 470 of file iew.hh.

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

◆ numNop

template<class Impl >
Stats::Vector DefaultIEW< Impl >::IEWStats::ExecutedInstStats::numNop

Number of executed nops.

Definition at line 477 of file iew.hh.

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

◆ numRate

template<class Impl >
Stats::Formula DefaultIEW< Impl >::IEWStats::ExecutedInstStats::numRate

Number of instructions executed per cycle.

Definition at line 485 of file iew.hh.

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

◆ numRefs

template<class Impl >
Stats::Vector DefaultIEW< Impl >::IEWStats::ExecutedInstStats::numRefs

Number of executed meomory references.

Definition at line 479 of file iew.hh.

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

◆ numSquashedInsts

template<class Impl >
Stats::Scalar DefaultIEW< Impl >::IEWStats::ExecutedInstStats::numSquashedInsts

Stat for total number of squashed instructions skipped at execute.

Definition at line 473 of file iew.hh.

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

◆ numStoreInsts

template<class Impl >
Stats::Formula DefaultIEW< Impl >::IEWStats::ExecutedInstStats::numStoreInsts

Number of executed store instructions.

Definition at line 483 of file iew.hh.

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

◆ numSwp

template<class Impl >
Stats::Vector DefaultIEW< Impl >::IEWStats::ExecutedInstStats::numSwp

Number of executed software prefetches.

Definition at line 475 of file iew.hh.

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


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

Generated on Tue Jun 22 2021 15:28:37 for gem5 by doxygen 1.8.17