|
gem5
v21.2.1.1
|
#include <TBEStorage.hh>
Classes | |
| struct | TBEStorageStats |
Public Member Functions | |
| TBEStorage (statistics::Group *parent, int number_of_TBEs) | |
| int | size () const |
| int | capacity () const |
| int | reserved () const |
| int | slotsAvailable () const |
| float | utilization () const |
| bool | areNSlotsAvailable (int n, Tick current_time=0) const |
| void | incrementReserved () |
| void | decrementReserved () |
| int | addEntryToNewSlot () |
| void | addEntryToSlot (int slot) |
| void | removeEntryFromSlot (int slot) |
Private Attributes | |
| int | m_reserved |
| std::stack< int > | m_slots_avail |
| std::unordered_map< int, int > | m_slots_used |
| gem5::ruby::TBEStorage::TBEStorageStats | m_stats |
Definition at line 79 of file TBEStorage.hh.
| gem5::ruby::TBEStorage::TBEStorage | ( | statistics::Group * | parent, |
| int | number_of_TBEs | ||
| ) |
Definition at line 46 of file TBEStorage.cc.
References gem5::ArmISA::i, and m_slots_avail.
|
inline |
Definition at line 160 of file TBEStorage.hh.
References gem5::ruby::TBEStorage::TBEStorageStats::avg_size, gem5::ruby::TBEStorage::TBEStorageStats::avg_util, m_slots_avail, m_slots_used, m_stats, size(), slotsAvailable(), and utilization().
|
inline |
Definition at line 173 of file TBEStorage.hh.
References m_slots_used.
|
inline |
Definition at line 139 of file TBEStorage.hh.
References gem5::ArmISA::n, and slotsAvailable().
|
inline |
Definition at line 88 of file TBEStorage.hh.
References m_slots_avail, and m_slots_used.
Referenced by utilization().
|
inline |
Definition at line 152 of file TBEStorage.hh.
References gem5::ruby::TBEStorage::TBEStorageStats::avg_reserved, m_reserved, and m_stats.
|
inline |
Definition at line 145 of file TBEStorage.hh.
References gem5::ruby::TBEStorage::TBEStorageStats::avg_reserved, m_reserved, and m_stats.
|
inline |
Definition at line 181 of file TBEStorage.hh.
References gem5::ruby::TBEStorage::TBEStorageStats::avg_size, gem5::ruby::TBEStorage::TBEStorageStats::avg_util, m_slots_avail, m_slots_used, m_stats, size(), and utilization().
|
inline |
Definition at line 91 of file TBEStorage.hh.
References m_reserved.
|
inline |
Definition at line 85 of file TBEStorage.hh.
References m_slots_used.
Referenced by addEntryToNewSlot(), removeEntryFromSlot(), and utilization().
|
inline |
Definition at line 94 of file TBEStorage.hh.
References m_reserved, and m_slots_avail.
Referenced by addEntryToNewSlot(), and areNSlotsAvailable().
|
inline |
Definition at line 97 of file TBEStorage.hh.
References capacity(), and size().
Referenced by addEntryToNewSlot(), and removeEntryFromSlot().
|
private |
Definition at line 123 of file TBEStorage.hh.
Referenced by decrementReserved(), incrementReserved(), reserved(), and slotsAvailable().
|
private |
Definition at line 124 of file TBEStorage.hh.
Referenced by addEntryToNewSlot(), capacity(), removeEntryFromSlot(), slotsAvailable(), and TBEStorage().
|
private |
Definition at line 125 of file TBEStorage.hh.
Referenced by addEntryToNewSlot(), addEntryToSlot(), capacity(), removeEntryFromSlot(), and size().
|
private |
Referenced by addEntryToNewSlot(), decrementReserved(), incrementReserved(), and removeEntryFromSlot().