gem5 v24.0.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 44 of file StoreTrace.hh.
|
inline |
Definition at line 47 of file StoreTrace.hh.
|
explicit |
Definition at line 48 of file StoreTrace.cc.
References gem5::X86ISA::addr, initSummary(), m_addr, m_last_writer, m_stores_this_interval, and m_total_samples.
gem5::ruby::StoreTrace::~StoreTrace | ( | ) |
Definition at line 61 of file StoreTrace.cc.
|
static |
Definition at line 103 of file StoreTrace.cc.
References gem5::ruby::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 gem5::ruby::StoreTrace::downgrade | ( | NodeID | node | ) |
Definition at line 135 of file StoreTrace.cc.
References gem5::ruby::Histogram::add(), gem5::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 53 of file StoreTrace.hh.
References m_total_samples.
Referenced by gem5::ruby::node_less_then_eq().
|
static |
Definition at line 77 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 gem5::ruby::StoreTrace::print | ( | std::ostream & | out | ) | const |
Definition at line 66 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 gem5::ruby::operator<<().
|
static |
Definition at line 90 of file StoreTrace.cc.
References s_total_samples.
void gem5::ruby::StoreTrace::store | ( | NodeID | node | ) |
Definition at line 114 of file StoreTrace.cc.
References gem5::curTick(), m_first_store, m_last_store, m_last_writer, and m_stores_this_interval.
|
private |
Definition at line 69 of file StoreTrace.hh.
Referenced by print(), and StoreTrace().
|
private |
Definition at line 71 of file StoreTrace.hh.
Referenced by downgrade(), and store().
|
private |
Definition at line 72 of file StoreTrace.hh.
Referenced by downgrade(), and store().
|
private |
Definition at line 70 of file StoreTrace.hh.
Referenced by downgrade(), store(), and StoreTrace().
|
private |
Definition at line 76 of file StoreTrace.hh.
Referenced by downgrade(), and print().
|
private |
Definition at line 79 of file StoreTrace.hh.
Referenced by downgrade(), and print().
|
private |
Definition at line 77 of file StoreTrace.hh.
Referenced by downgrade(), and print().
|
private |
Definition at line 78 of file StoreTrace.hh.
Referenced by downgrade(), and print().
|
private |
Definition at line 73 of file StoreTrace.hh.
Referenced by downgrade(), store(), and StoreTrace().
|
private |
Definition at line 75 of file StoreTrace.hh.
Referenced by downgrade(), getTotal(), print(), and StoreTrace().
|
staticprivate |
Definition at line 61 of file StoreTrace.hh.
Referenced by initSummary().
|
staticprivate |
Definition at line 64 of file StoreTrace.hh.
Referenced by clearSummary(), downgrade(), and initSummary().
|
staticprivate |
Definition at line 67 of file StoreTrace.hh.
Referenced by clearSummary(), downgrade(), and initSummary().
|
staticprivate |
Definition at line 65 of file StoreTrace.hh.
Referenced by clearSummary(), downgrade(), and initSummary().
|
staticprivate |
Definition at line 66 of file StoreTrace.hh.
Referenced by clearSummary(), downgrade(), and initSummary().
|
staticprivate |
Definition at line 62 of file StoreTrace.hh.
Referenced by clearSummary(), downgrade(), initSummary(), and printSummary().