gem5 v24.0.0.0
|
#include <AccessTraceForAddress.hh>
Public Member Functions | |
AccessTraceForAddress () | |
~AccessTraceForAddress () | |
void | setAddress (Addr addr) |
void | update (RubyRequestType type, RubyAccessMode access_mode, NodeID cpu, bool sharing_miss) |
int | getTotal () const |
int | getSharing () const |
int | getTouchedBy () const |
Addr | getAddress () const |
void | addSample (int value) |
void | print (std::ostream &out) const |
Static Public Member Functions | |
static bool | less_equal (const AccessTraceForAddress *n1, const AccessTraceForAddress *n2) |
Private Attributes | |
Addr | m_addr |
uint64_t | m_loads |
uint64_t | m_stores |
uint64_t | m_atomics |
uint64_t | m_total |
uint64_t | m_user |
uint64_t | m_sharing |
Set | m_touched_by |
Histogram * | m_histogram_ptr |
Definition at line 47 of file AccessTraceForAddress.hh.
|
inline |
Definition at line 50 of file AccessTraceForAddress.hh.
gem5::ruby::AccessTraceForAddress::~AccessTraceForAddress | ( | ) |
Definition at line 39 of file AccessTraceForAddress.cc.
References m_histogram_ptr.
void gem5::ruby::AccessTraceForAddress::addSample | ( | int | value | ) |
Definition at line 104 of file AccessTraceForAddress.cc.
References gem5::ruby::Histogram::add(), m_histogram_ptr, and m_total.
Referenced by gem5::ruby::AddressProfiler::profileRetry().
|
inline |
Definition at line 62 of file AccessTraceForAddress.hh.
References m_addr.
|
inline |
Definition at line 60 of file AccessTraceForAddress.hh.
References m_sharing.
int gem5::ruby::AccessTraceForAddress::getTotal | ( | ) | const |
Definition at line 94 of file AccessTraceForAddress.cc.
References gem5::ruby::Histogram::getTotal(), m_histogram_ptr, and m_total.
Referenced by less_equal(), and gem5::ruby::printSorted().
|
inline |
Definition at line 61 of file AccessTraceForAddress.hh.
References gem5::ruby::Set::count(), and m_touched_by.
Referenced by gem5::ruby::printSorted().
|
inlinestatic |
Definition at line 68 of file AccessTraceForAddress.hh.
References getTotal().
Referenced by gem5::ruby::printSorted().
void gem5::ruby::AccessTraceForAddress::print | ( | std::ostream & | out | ) | const |
Definition at line 48 of file AccessTraceForAddress.cc.
References gem5::ruby::Set::count(), m_addr, m_atomics, m_histogram_ptr, m_loads, m_sharing, m_stores, m_total, m_touched_by, and m_user.
Referenced by gem5::ruby::operator<<().
|
inline |
Definition at line 56 of file AccessTraceForAddress.hh.
References gem5::X86ISA::addr, and m_addr.
Referenced by gem5::ruby::lookupTraceForAddress().
void gem5::ruby::AccessTraceForAddress::update | ( | RubyRequestType | type, |
RubyAccessMode | access_mode, | ||
NodeID | cpu, | ||
bool | sharing_miss ) |
Definition at line 68 of file AccessTraceForAddress.cc.
References gem5::ruby::Set::add(), m_atomics, m_loads, m_sharing, m_stores, m_total, m_touched_by, m_user, and gem5::X86ISA::type.
|
private |
Definition at line 75 of file AccessTraceForAddress.hh.
Referenced by getAddress(), print(), and setAddress().
|
private |
Definition at line 78 of file AccessTraceForAddress.hh.
|
private |
Definition at line 83 of file AccessTraceForAddress.hh.
Referenced by addSample(), getTotal(), print(), and ~AccessTraceForAddress().
|
private |
Definition at line 76 of file AccessTraceForAddress.hh.
|
private |
Definition at line 81 of file AccessTraceForAddress.hh.
Referenced by getSharing(), print(), and update().
|
private |
Definition at line 77 of file AccessTraceForAddress.hh.
|
private |
Definition at line 79 of file AccessTraceForAddress.hh.
Referenced by addSample(), getTotal(), print(), and update().
|
private |
Definition at line 82 of file AccessTraceForAddress.hh.
Referenced by getTouchedBy(), print(), and update().
|
private |
Definition at line 80 of file AccessTraceForAddress.hh.