gem5  v21.0.1.0
Public Member Functions | Public Attributes | List of all members
FullO3CPU< Impl >::FullO3CPUStats Struct Reference

#include <cpu.hh>

Inheritance diagram for FullO3CPU< Impl >::FullO3CPUStats:
Stats::Group

Public Member Functions

 FullO3CPUStats (FullO3CPU *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 timesIdled
 Stat for total number of times the CPU is descheduled. More...
 
Stats::Scalar idleCycles
 Stat for total number of cycles the CPU spends descheduled. More...
 
Stats::Scalar quiesceCycles
 Stat for total number of cycles the CPU spends descheduled due to a quiesce operation or waiting for an interrupt. More...
 
Stats::Vector committedInsts
 Stat for the number of committed instructions per thread. More...
 
Stats::Vector committedOps
 Stat for the number of committed ops (including micro ops) per thread. More...
 
Stats::Formula cpi
 Stat for the CPI per thread. More...
 
Stats::Formula totalCpi
 Stat for the total CPI. More...
 
Stats::Formula ipc
 Stat for the IPC per thread. More...
 
Stats::Formula totalIpc
 Stat for the total IPC. More...
 
Stats::Scalar intRegfileReads
 
Stats::Scalar intRegfileWrites
 
Stats::Scalar fpRegfileReads
 
Stats::Scalar fpRegfileWrites
 
Stats::Scalar vecRegfileReads
 
Stats::Scalar vecRegfileWrites
 
Stats::Scalar vecPredRegfileReads
 
Stats::Scalar vecPredRegfileWrites
 
Stats::Scalar ccRegfileReads
 
Stats::Scalar ccRegfileWrites
 
Stats::Scalar miscRegfileReads
 
Stats::Scalar miscRegfileWrites
 

Detailed Description

template<class Impl>
struct FullO3CPU< Impl >::FullO3CPUStats

Definition at line 731 of file cpu.hh.

Constructor & Destructor Documentation

◆ FullO3CPUStats()

template<class Impl >
FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats ( FullO3CPU cpu)

Member Data Documentation

◆ ccRegfileReads

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::ccRegfileReads

◆ ccRegfileWrites

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::ccRegfileWrites

◆ committedInsts

template<class Impl >
Stats::Vector FullO3CPU< Impl >::FullO3CPUStats::committedInsts

Stat for the number of committed instructions per thread.

Definition at line 743 of file cpu.hh.

Referenced by FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats(), and FullO3CPU< O3CPUImpl >::instDone().

◆ committedOps

template<class Impl >
Stats::Vector FullO3CPU< Impl >::FullO3CPUStats::committedOps

Stat for the number of committed ops (including micro ops) per thread.

Definition at line 746 of file cpu.hh.

Referenced by FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats(), and FullO3CPU< O3CPUImpl >::instDone().

◆ cpi

template<class Impl >
Stats::Formula FullO3CPU< Impl >::FullO3CPUStats::cpi

Stat for the CPI per thread.

Definition at line 748 of file cpu.hh.

Referenced by FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats().

◆ fpRegfileReads

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::fpRegfileReads

◆ fpRegfileWrites

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::fpRegfileWrites

◆ idleCycles

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::idleCycles

Stat for total number of cycles the CPU spends descheduled.

Definition at line 738 of file cpu.hh.

Referenced by FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats(), and FullO3CPU< O3CPUImpl >::wakeCPU().

◆ intRegfileReads

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::intRegfileReads

◆ intRegfileWrites

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::intRegfileWrites

◆ ipc

template<class Impl >
Stats::Formula FullO3CPU< Impl >::FullO3CPUStats::ipc

Stat for the IPC per thread.

Definition at line 752 of file cpu.hh.

Referenced by FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats().

◆ miscRegfileReads

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::miscRegfileReads

◆ miscRegfileWrites

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::miscRegfileWrites

◆ quiesceCycles

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::quiesceCycles

Stat for total number of cycles the CPU spends descheduled due to a quiesce operation or waiting for an interrupt.

Definition at line 741 of file cpu.hh.

Referenced by FullO3CPU< O3CPUImpl >::activateContext(), and FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats().

◆ timesIdled

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::timesIdled

Stat for total number of times the CPU is descheduled.

Definition at line 736 of file cpu.hh.

Referenced by FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats(), and FullO3CPU< O3CPUImpl >::tick().

◆ totalCpi

template<class Impl >
Stats::Formula FullO3CPU< Impl >::FullO3CPUStats::totalCpi

Stat for the total CPI.

Definition at line 750 of file cpu.hh.

Referenced by FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats().

◆ totalIpc

template<class Impl >
Stats::Formula FullO3CPU< Impl >::FullO3CPUStats::totalIpc

Stat for the total IPC.

Definition at line 754 of file cpu.hh.

Referenced by FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats().

◆ vecPredRegfileReads

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::vecPredRegfileReads
mutable

◆ vecPredRegfileWrites

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::vecPredRegfileWrites

◆ vecRegfileReads

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::vecRegfileReads
mutable

◆ vecRegfileWrites

template<class Impl >
Stats::Scalar FullO3CPU< Impl >::FullO3CPUStats::vecRegfileWrites

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

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