gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
LSQUnit< Impl >::LSQUnitStats Struct Reference

#include <lsq_unit.hh>

Inheritance diagram for LSQUnit< Impl >::LSQUnitStats:
Stats::Group

Public Member Functions

 LSQUnitStats (Stats::Group *parent)
 
- 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...
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 

Public Attributes

Stats::Scalar forwLoads
 Total number of loads forwaded from LSQ stores. More...
 
Stats::Scalar squashedLoads
 Total number of squashed loads. More...
 
Stats::Scalar ignoredResponses
 Total number of responses from the memory system that are ignored due to the instruction already being squashed. More...
 
Stats::Scalar memOrderViolation
 Tota number of memory ordering violations. More...
 
Stats::Scalar squashedStores
 Total number of squashed stores. More...
 
Stats::Scalar rescheduledLoads
 Number of loads that were rescheduled. More...
 
Stats::Scalar blockedByCache
 Number of times the LSQ is blocked due to the cache. More...
 

Detailed Description

template<class Impl>
struct LSQUnit< Impl >::LSQUnitStats

Definition at line 569 of file lsq_unit.hh.

Constructor & Destructor Documentation

◆ LSQUnitStats()

template<class Impl >
LSQUnit< Impl >::LSQUnitStats::LSQUnitStats ( Stats::Group parent)

Definition at line 271 of file lsq_unit_impl.hh.

Member Data Documentation

◆ blockedByCache

template<class Impl >
Stats::Scalar LSQUnit< Impl >::LSQUnitStats::blockedByCache

Number of times the LSQ is blocked due to the cache.

Definition at line 592 of file lsq_unit.hh.

Referenced by LSQUnit< Impl >::trySendPacket().

◆ forwLoads

template<class Impl >
Stats::Scalar LSQUnit< Impl >::LSQUnitStats::forwLoads

Total number of loads forwaded from LSQ stores.

Definition at line 573 of file lsq_unit.hh.

◆ ignoredResponses

template<class Impl >
Stats::Scalar LSQUnit< Impl >::LSQUnitStats::ignoredResponses

Total number of responses from the memory system that are ignored due to the instruction already being squashed.

Definition at line 580 of file lsq_unit.hh.

Referenced by LSQUnit< Impl >::writeback().

◆ memOrderViolation

template<class Impl >
Stats::Scalar LSQUnit< Impl >::LSQUnitStats::memOrderViolation

Tota number of memory ordering violations.

Definition at line 583 of file lsq_unit.hh.

Referenced by LSQUnit< Impl >::checkViolations().

◆ rescheduledLoads

template<class Impl >
Stats::Scalar LSQUnit< Impl >::LSQUnitStats::rescheduledLoads

Number of loads that were rescheduled.

Definition at line 589 of file lsq_unit.hh.

◆ squashedLoads

template<class Impl >
Stats::Scalar LSQUnit< Impl >::LSQUnitStats::squashedLoads

Total number of squashed loads.

Definition at line 576 of file lsq_unit.hh.

Referenced by LSQUnit< Impl >::squash().

◆ squashedStores

template<class Impl >
Stats::Scalar LSQUnit< Impl >::LSQUnitStats::squashedStores

Total number of squashed stores.

Definition at line 586 of file lsq_unit.hh.

Referenced by LSQUnit< Impl >::squash().


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

Generated on Wed Sep 30 2020 14:02:27 for gem5 by doxygen 1.8.17