gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::TraceCPU::TraceStats Struct Reference

#include <trace_cpu.hh>

Inheritance diagram for gem5::TraceCPU::TraceStats:
gem5::statistics::Group

Public Member Functions

 TraceStats (TraceCPU *trace)
 
- 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 InforesolveStat (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
 
Groupoperator= (const Group &)=delete
 

Public Attributes

statistics::Scalar numSchedDcacheEvent
 
statistics::Scalar numSchedIcacheEvent
 
statistics::Scalar numOps
 Stat for number of simulated micro-ops.
 
statistics::Scalar numCycles
 Number of CPU cycles simulated.
 
statistics::Formula cpi
 Stat for the CPI.
 

Detailed Description

Definition at line 1092 of file trace_cpu.hh.

Constructor & Destructor Documentation

◆ TraceStats()

gem5::TraceCPU::TraceStats::TraceStats ( TraceCPU * trace)

Member Data Documentation

◆ cpi

statistics::Formula gem5::TraceCPU::TraceStats::cpi

Stat for the CPI.

This is really cycles per micro-op and not inst.

Definition at line 1104 of file trace_cpu.hh.

Referenced by TraceStats().

◆ numCycles

statistics::Scalar gem5::TraceCPU::TraceStats::numCycles

Number of CPU cycles simulated.

Definition at line 1101 of file trace_cpu.hh.

Referenced by gem5::TraceCPU::schedDcacheNext().

◆ numOps

statistics::Scalar gem5::TraceCPU::TraceStats::numOps

Stat for number of simulated micro-ops.

Definition at line 1099 of file trace_cpu.hh.

Referenced by gem5::TraceCPU::totalOps(), and gem5::TraceCPU::updateNumOps().

◆ numSchedDcacheEvent

statistics::Scalar gem5::TraceCPU::TraceStats::numSchedDcacheEvent

Definition at line 1095 of file trace_cpu.hh.

Referenced by gem5::TraceCPU::schedDcacheNextEvent().

◆ numSchedIcacheEvent

statistics::Scalar gem5::TraceCPU::TraceStats::numSchedIcacheEvent

Definition at line 1096 of file trace_cpu.hh.

Referenced by gem5::TraceCPU::schedIcacheNext().


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

Generated on Tue Jun 18 2024 16:24:15 for gem5 by doxygen 1.11.0