|
gem5
v21.2.1.1
|
#include <Set.hh>
Public Member Functions | |
| Set () | |
| Set (int size) | |
| Set (const Set &obj) | |
| ~Set () | |
| Set & | operator= (const Set &obj) |
| void | add (NodeID index) |
| void | addSet (const Set &obj) |
| void | remove (NodeID index) |
| void | removeSet (const Set &obj) |
| void | clear () |
| void | broadcast () |
| int | count () const |
| bool | isEqual (const Set &obj) const |
| Set | OR (const Set &obj) const |
| Set | AND (const Set &obj) const |
| bool | intersectionIsEmpty (const Set &obj) const |
| bool | isSuperset (const Set &test) const |
| bool | isSubset (const Set &test) const |
| bool | isElement (NodeID element) const |
| bool | isBroadcast () const |
| bool | isEmpty () const |
| NodeID | smallestElement () const |
| bool | elementAt (int index) const |
| int | getSize () const |
| void | setSize (int size) |
| void | print (std::ostream &out) const |
Private Attributes | |
| int | m_nSize |
| std::bitset< NUMBER_BITS_PER_SET > | bits |
|
inline |
Definition at line 78 of file Set.hh.
References bits, and gem5::MipsISA::index.
Referenced by gem5::ruby::AccessTraceForAddress::update().
|
inline |
Definition at line 88 of file Set.hh.
Referenced by gem5::ruby::AddressProfiler::profileGetS(), and gem5::ruby::AddressProfiler::profileGetX().
Definition at line 153 of file Set.hh.
References bits, m_nSize, and gem5::MipsISA::r.
|
inline |
Definition at line 118 of file Set.hh.
References bits, gem5::ArmISA::j, and m_nSize.
|
inline |
Definition at line 129 of file Set.hh.
References bits.
Referenced by gem5::ruby::AccessTraceForAddress::getTouchedBy(), gem5::ruby::AccessTraceForAddress::print(), gem5::ruby::AddressProfiler::profileGetS(), and gem5::ruby::AddressProfiler::profileGetX().
|
inline |
Definition at line 206 of file Set.hh.
References bits, and gem5::MipsISA::index.
|
inline |
|
inline |
Definition at line 163 of file Set.hh.
References bits, and gem5::MipsISA::r.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 174 of file Set.hh.
References bits, m_nSize, and gem5::MipsISA::r.
Definition at line 143 of file Set.hh.
References bits, m_nSize, and gem5::MipsISA::r.
|
inline |
Definition at line 221 of file Set.hh.
Referenced by gem5::ruby::operator<<().
|
inline |
Definition at line 98 of file Set.hh.
References bits, and gem5::MipsISA::index.
Referenced by gem5::ruby::AddressProfiler::profileGetS(), and gem5::ruby::AddressProfiler::profileGetX().
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 54 of file Set.hh.
Referenced by add(), addSet(), AND(), broadcast(), clear(), count(), elementAt(), intersectionIsEmpty(), isBroadcast(), isElement(), isEmpty(), isEqual(), isSuperset(), operator=(), OR(), print(), remove(), removeSet(), setSize(), and smallestElement().
|
private |
Definition at line 53 of file Set.hh.
Referenced by addSet(), AND(), broadcast(), getSize(), isBroadcast(), isEqual(), isSuperset(), operator=(), OR(), print(), removeSet(), setSize(), and smallestElement().