gem5
|
#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 41 of file AccessTraceForAddress.hh.
|
inline |
Definition at line 44 of file AccessTraceForAddress.hh.
AccessTraceForAddress::~AccessTraceForAddress | ( | ) |
Definition at line 33 of file AccessTraceForAddress.cc.
References m_histogram_ptr.
void AccessTraceForAddress::addSample | ( | int | value | ) |
Definition at line 98 of file AccessTraceForAddress.cc.
References Histogram::add(), m_histogram_ptr, and m_total.
Referenced by AddressProfiler::profileRetry().
|
inline |
Definition at line 56 of file AccessTraceForAddress.hh.
References m_addr.
|
inline |
Definition at line 54 of file AccessTraceForAddress.hh.
References m_sharing.
int AccessTraceForAddress::getTotal | ( | ) | const |
Definition at line 88 of file AccessTraceForAddress.cc.
References Histogram::getTotal(), m_histogram_ptr, and m_total.
Referenced by less_equal(), and printSorted().
|
inline |
Definition at line 55 of file AccessTraceForAddress.hh.
References Set::count(), and m_touched_by.
Referenced by printSorted().
|
inlinestatic |
Definition at line 62 of file AccessTraceForAddress.hh.
References getTotal().
Referenced by printSorted().
void AccessTraceForAddress::print | ( | std::ostream & | out | ) | const |
Definition at line 42 of file AccessTraceForAddress.cc.
References 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 operator<<().
|
inline |
Definition at line 50 of file AccessTraceForAddress.hh.
Referenced by lookupTraceForAddress().
void AccessTraceForAddress::update | ( | RubyRequestType | type, |
RubyAccessMode | access_mode, | ||
NodeID | cpu, | ||
bool | sharing_miss | ||
) |
Definition at line 62 of file AccessTraceForAddress.cc.
References Set::add(), m_atomics, m_loads, m_sharing, m_stores, m_total, m_touched_by, and m_user.
|
private |
Definition at line 69 of file AccessTraceForAddress.hh.
Referenced by getAddress(), print(), and setAddress().
|
private |
Definition at line 72 of file AccessTraceForAddress.hh.
|
private |
Definition at line 77 of file AccessTraceForAddress.hh.
Referenced by addSample(), getTotal(), print(), and ~AccessTraceForAddress().
|
private |
Definition at line 70 of file AccessTraceForAddress.hh.
|
private |
Definition at line 75 of file AccessTraceForAddress.hh.
Referenced by getSharing(), print(), and update().
|
private |
Definition at line 71 of file AccessTraceForAddress.hh.
|
private |
Definition at line 73 of file AccessTraceForAddress.hh.
Referenced by addSample(), getTotal(), print(), and update().
|
private |
Definition at line 76 of file AccessTraceForAddress.hh.
Referenced by getTouchedBy(), print(), and update().
|
private |
Definition at line 74 of file AccessTraceForAddress.hh.