gem5
v20.1.0.0
|
#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 () |
Static Private Attributes | |
static bool | s_init = false |
static int64_t | s_total_samples = 0 |
static Histogram * | s_store_count_ptr = NULL |
static Histogram * | s_store_first_to_stolen_ptr = NULL |
static Histogram * | s_store_last_to_stolen_ptr = NULL |
static Histogram * | s_store_first_to_last_ptr = NULL |
Definition at line 38 of file StoreTrace.hh.
|
inline |
Definition at line 41 of file StoreTrace.hh.
|
explicit |
Definition at line 44 of file StoreTrace.cc.
References addr, initSummary(), m_addr, m_last_writer, m_stores_this_interval, and m_total_samples.
StoreTrace::~StoreTrace | ( | ) |
Definition at line 57 of file StoreTrace.cc.
|
static |
Definition at line 96 of file StoreTrace.cc.
References Histogram::clear(), initSummary(), s_store_count_ptr, s_store_first_to_last_ptr, s_store_first_to_stolen_ptr, s_store_last_to_stolen_ptr, and s_total_samples.
void StoreTrace::downgrade | ( | NodeID | node | ) |
Definition at line 128 of file StoreTrace.cc.
References Histogram::add(), curTick(), m_first_store, m_last_store, m_last_writer, m_store_count, m_store_first_to_last, m_store_first_to_stolen, m_store_last_to_stolen, m_stores_this_interval, m_total_samples, s_store_count_ptr, s_store_first_to_last_ptr, s_store_first_to_stolen_ptr, s_store_last_to_stolen_ptr, and s_total_samples.
|
inline |
Definition at line 47 of file StoreTrace.hh.
References m_total_samples.
Referenced by node_less_then_eq().
|
static |
Definition at line 73 of file StoreTrace.cc.
References s_init, s_store_count_ptr, s_store_first_to_last_ptr, s_store_first_to_stolen_ptr, s_store_last_to_stolen_ptr, and s_total_samples.
Referenced by clearSummary(), and StoreTrace().
void StoreTrace::print | ( | std::ostream & | out | ) | const |
Definition at line 62 of file StoreTrace.cc.
References m_addr, m_store_count, m_store_first_to_last, m_store_first_to_stolen, m_store_last_to_stolen, and m_total_samples.
Referenced by operator<<().
|
static |
Definition at line 86 of file StoreTrace.cc.
References s_total_samples.
void StoreTrace::store | ( | NodeID | node | ) |
Definition at line 107 of file StoreTrace.cc.
References curTick(), m_first_store, m_last_store, m_last_writer, and m_stores_this_interval.
|
private |
Definition at line 63 of file StoreTrace.hh.
Referenced by print(), and StoreTrace().
|
private |
Definition at line 65 of file StoreTrace.hh.
Referenced by downgrade(), and store().
|
private |
Definition at line 66 of file StoreTrace.hh.
Referenced by downgrade(), and store().
|
private |
Definition at line 64 of file StoreTrace.hh.
Referenced by downgrade(), store(), and StoreTrace().
|
private |
Definition at line 70 of file StoreTrace.hh.
Referenced by downgrade(), and print().
|
private |
Definition at line 73 of file StoreTrace.hh.
Referenced by downgrade(), and print().
|
private |
Definition at line 71 of file StoreTrace.hh.
Referenced by downgrade(), and print().
|
private |
Definition at line 72 of file StoreTrace.hh.
Referenced by downgrade(), and print().
|
private |
Definition at line 67 of file StoreTrace.hh.
Referenced by downgrade(), store(), and StoreTrace().
|
private |
Definition at line 69 of file StoreTrace.hh.
Referenced by downgrade(), getTotal(), print(), and StoreTrace().
|
staticprivate |
Definition at line 55 of file StoreTrace.hh.
Referenced by initSummary().
|
staticprivate |
Definition at line 58 of file StoreTrace.hh.
Referenced by clearSummary(), downgrade(), and initSummary().
|
staticprivate |
Definition at line 61 of file StoreTrace.hh.
Referenced by clearSummary(), downgrade(), and initSummary().
|
staticprivate |
Definition at line 59 of file StoreTrace.hh.
Referenced by clearSummary(), downgrade(), and initSummary().
|
staticprivate |
Definition at line 60 of file StoreTrace.hh.
Referenced by clearSummary(), downgrade(), and initSummary().
|
staticprivate |
Definition at line 56 of file StoreTrace.hh.
Referenced by clearSummary(), downgrade(), initSummary(), and printSummary().