gem5  v21.1.0.2
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
gem5::ruby::StoreTrace Class Reference

#include <StoreTrace.hh>

Public Member Functions

 StoreTrace ()
 
 StoreTrace (Addr addr)
 
 ~StoreTrace ()
 
void store (NodeID node)
 
void downgrade (NodeID node)
 
int getTotal () const
 
void print (std::ostream &out) const
 

Static Public Member Functions

static void initSummary ()
 
static void printSummary (std::ostream &out)
 
static void clearSummary ()
 

Private Attributes

Addr m_addr
 
NodeID m_last_writer
 
Tick m_first_store
 
Tick m_last_store
 
int m_stores_this_interval
 
int64_t m_total_samples
 
Histogram m_store_count
 
Histogram m_store_first_to_stolen
 
Histogram m_store_last_to_stolen
 
Histogram m_store_first_to_last
 

Static Private Attributes

static bool s_init = false
 
static int64_t s_total_samples = 0
 
static Histograms_store_count_ptr = NULL
 
static Histograms_store_first_to_stolen_ptr = NULL
 
static Histograms_store_last_to_stolen_ptr = NULL
 
static Histograms_store_first_to_last_ptr = NULL
 

Detailed Description

Definition at line 44 of file StoreTrace.hh.

Constructor & Destructor Documentation

◆ StoreTrace() [1/2]

gem5::ruby::StoreTrace::StoreTrace ( )
inline

Definition at line 47 of file StoreTrace.hh.

◆ StoreTrace() [2/2]

gem5::ruby::StoreTrace::StoreTrace ( Addr  addr)
explicit

◆ ~StoreTrace()

gem5::ruby::StoreTrace::~StoreTrace ( )

Definition at line 61 of file StoreTrace.cc.

Member Function Documentation

◆ clearSummary()

void gem5::ruby::StoreTrace::clearSummary ( )
static

◆ downgrade()

void gem5::ruby::StoreTrace::downgrade ( NodeID  node)

◆ getTotal()

int gem5::ruby::StoreTrace::getTotal ( ) const
inline

Definition at line 53 of file StoreTrace.hh.

References m_total_samples.

Referenced by gem5::ruby::node_less_then_eq().

◆ initSummary()

void gem5::ruby::StoreTrace::initSummary ( )
static

◆ print()

void gem5::ruby::StoreTrace::print ( std::ostream &  out) const

◆ printSummary()

void gem5::ruby::StoreTrace::printSummary ( std::ostream &  out)
static

Definition at line 90 of file StoreTrace.cc.

References s_total_samples.

◆ store()

void gem5::ruby::StoreTrace::store ( NodeID  node)

Member Data Documentation

◆ m_addr

Addr gem5::ruby::StoreTrace::m_addr
private

Definition at line 69 of file StoreTrace.hh.

Referenced by print(), and StoreTrace().

◆ m_first_store

Tick gem5::ruby::StoreTrace::m_first_store
private

Definition at line 71 of file StoreTrace.hh.

Referenced by downgrade(), and store().

◆ m_last_store

Tick gem5::ruby::StoreTrace::m_last_store
private

Definition at line 72 of file StoreTrace.hh.

Referenced by downgrade(), and store().

◆ m_last_writer

NodeID gem5::ruby::StoreTrace::m_last_writer
private

Definition at line 70 of file StoreTrace.hh.

Referenced by downgrade(), store(), and StoreTrace().

◆ m_store_count

Histogram gem5::ruby::StoreTrace::m_store_count
private

Definition at line 76 of file StoreTrace.hh.

Referenced by downgrade(), and print().

◆ m_store_first_to_last

Histogram gem5::ruby::StoreTrace::m_store_first_to_last
private

Definition at line 79 of file StoreTrace.hh.

Referenced by downgrade(), and print().

◆ m_store_first_to_stolen

Histogram gem5::ruby::StoreTrace::m_store_first_to_stolen
private

Definition at line 77 of file StoreTrace.hh.

Referenced by downgrade(), and print().

◆ m_store_last_to_stolen

Histogram gem5::ruby::StoreTrace::m_store_last_to_stolen
private

Definition at line 78 of file StoreTrace.hh.

Referenced by downgrade(), and print().

◆ m_stores_this_interval

int gem5::ruby::StoreTrace::m_stores_this_interval
private

Definition at line 73 of file StoreTrace.hh.

Referenced by downgrade(), store(), and StoreTrace().

◆ m_total_samples

int64_t gem5::ruby::StoreTrace::m_total_samples
private

Definition at line 75 of file StoreTrace.hh.

Referenced by downgrade(), getTotal(), print(), and StoreTrace().

◆ s_init

bool gem5::ruby::StoreTrace::s_init = false
staticprivate

Definition at line 61 of file StoreTrace.hh.

Referenced by initSummary().

◆ s_store_count_ptr

Histogram * gem5::ruby::StoreTrace::s_store_count_ptr = NULL
staticprivate

Definition at line 64 of file StoreTrace.hh.

Referenced by clearSummary(), downgrade(), and initSummary().

◆ s_store_first_to_last_ptr

Histogram * gem5::ruby::StoreTrace::s_store_first_to_last_ptr = NULL
staticprivate

Definition at line 67 of file StoreTrace.hh.

Referenced by clearSummary(), downgrade(), and initSummary().

◆ s_store_first_to_stolen_ptr

Histogram * gem5::ruby::StoreTrace::s_store_first_to_stolen_ptr = NULL
staticprivate

Definition at line 65 of file StoreTrace.hh.

Referenced by clearSummary(), downgrade(), and initSummary().

◆ s_store_last_to_stolen_ptr

Histogram * gem5::ruby::StoreTrace::s_store_last_to_stolen_ptr = NULL
staticprivate

Definition at line 66 of file StoreTrace.hh.

Referenced by clearSummary(), downgrade(), and initSummary().

◆ s_total_samples

int64_t gem5::ruby::StoreTrace::s_total_samples = 0
staticprivate

Definition at line 62 of file StoreTrace.hh.

Referenced by clearSummary(), downgrade(), initSummary(), and printSummary().


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

Generated on Tue Sep 21 2021 12:32:10 for gem5 by doxygen 1.8.17