gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
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 38 of file StoreTrace.hh.

Constructor & Destructor Documentation

StoreTrace::StoreTrace ( )
inline

Definition at line 41 of file StoreTrace.hh.

StoreTrace::StoreTrace ( Addr  addr)
explicit
StoreTrace::~StoreTrace ( )

Definition at line 57 of file StoreTrace.cc.

Member Function Documentation

void StoreTrace::clearSummary ( )
static
void StoreTrace::downgrade ( NodeID  node)
int StoreTrace::getTotal ( ) const
inline

Definition at line 47 of file StoreTrace.hh.

References m_total_samples.

Referenced by node_less_then_eq().

void StoreTrace::initSummary ( )
static
void StoreTrace::print ( std::ostream &  out) const
void StoreTrace::printSummary ( std::ostream &  out)
static

Definition at line 86 of file StoreTrace.cc.

References s_total_samples.

void StoreTrace::store ( NodeID  node)

Member Data Documentation

Addr StoreTrace::m_addr
private

Definition at line 63 of file StoreTrace.hh.

Referenced by print(), and StoreTrace().

Tick StoreTrace::m_first_store
private

Definition at line 65 of file StoreTrace.hh.

Referenced by downgrade(), and store().

Tick StoreTrace::m_last_store
private

Definition at line 66 of file StoreTrace.hh.

Referenced by downgrade(), and store().

NodeID StoreTrace::m_last_writer
private

Definition at line 64 of file StoreTrace.hh.

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

Histogram StoreTrace::m_store_count
private

Definition at line 70 of file StoreTrace.hh.

Referenced by downgrade(), and print().

Histogram StoreTrace::m_store_first_to_last
private

Definition at line 73 of file StoreTrace.hh.

Referenced by downgrade(), and print().

Histogram StoreTrace::m_store_first_to_stolen
private

Definition at line 71 of file StoreTrace.hh.

Referenced by downgrade(), and print().

Histogram StoreTrace::m_store_last_to_stolen
private

Definition at line 72 of file StoreTrace.hh.

Referenced by downgrade(), and print().

int StoreTrace::m_stores_this_interval
private

Definition at line 67 of file StoreTrace.hh.

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

int64_t StoreTrace::m_total_samples
private

Definition at line 69 of file StoreTrace.hh.

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

bool StoreTrace::s_init = false
staticprivate

Definition at line 55 of file StoreTrace.hh.

Referenced by initSummary().

Histogram * StoreTrace::s_store_count_ptr = NULL
staticprivate

Definition at line 58 of file StoreTrace.hh.

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

Histogram * StoreTrace::s_store_first_to_last_ptr = NULL
staticprivate

Definition at line 61 of file StoreTrace.hh.

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

Histogram * StoreTrace::s_store_first_to_stolen_ptr = NULL
staticprivate

Definition at line 59 of file StoreTrace.hh.

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

Histogram * StoreTrace::s_store_last_to_stolen_ptr = NULL
staticprivate

Definition at line 60 of file StoreTrace.hh.

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

int64_t StoreTrace::s_total_samples = 0
staticprivate

Definition at line 56 of file StoreTrace.hh.

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


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

Generated on Fri Jun 9 2017 13:04:20 for gem5 by doxygen 1.8.6