|
gem5
v21.0.1.0
|
#include <TBEStorage.hh>
Classes | |
| struct | TBEStorageStats |
Public Member Functions | |
| TBEStorage (Stats::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 |
| TBEStorage::TBEStorageStats | m_stats |
Definition at line 73 of file TBEStorage.hh.
| TBEStorage::TBEStorage | ( | Stats::Group * | parent, |
| int | number_of_TBEs | ||
| ) |
Definition at line 40 of file TBEStorage.cc.
References ArmISA::i, and m_slots_avail.
|
inline |
Definition at line 153 of file TBEStorage.hh.
References TBEStorage::TBEStorageStats::avg_size, TBEStorage::TBEStorageStats::avg_util, m_slots_avail, m_slots_used, m_stats, size(), slotsAvailable(), and utilization().
|
inline |
Definition at line 166 of file TBEStorage.hh.
References m_slots_used.
|
inline |
Definition at line 132 of file TBEStorage.hh.
References ArmISA::n, and slotsAvailable().
|
inline |
Definition at line 81 of file TBEStorage.hh.
References m_slots_avail, and m_slots_used.
Referenced by utilization().
|
inline |
Definition at line 145 of file TBEStorage.hh.
References TBEStorage::TBEStorageStats::avg_reserved, m_reserved, and m_stats.
|
inline |
Definition at line 138 of file TBEStorage.hh.
References TBEStorage::TBEStorageStats::avg_reserved, m_reserved, and m_stats.
|
inline |
Definition at line 174 of file TBEStorage.hh.
References TBEStorage::TBEStorageStats::avg_size, TBEStorage::TBEStorageStats::avg_util, m_slots_avail, m_slots_used, m_stats, size(), and utilization().
|
inline |
Definition at line 84 of file TBEStorage.hh.
References m_reserved.
|
inline |
Definition at line 78 of file TBEStorage.hh.
References m_slots_used.
Referenced by addEntryToNewSlot(), removeEntryFromSlot(), and utilization().
|
inline |
Definition at line 87 of file TBEStorage.hh.
References m_reserved, and m_slots_avail.
Referenced by addEntryToNewSlot(), and areNSlotsAvailable().
|
inline |
Definition at line 90 of file TBEStorage.hh.
References capacity(), and size().
Referenced by addEntryToNewSlot(), and removeEntryFromSlot().
|
private |
Definition at line 116 of file TBEStorage.hh.
Referenced by decrementReserved(), incrementReserved(), reserved(), and slotsAvailable().
|
private |
Definition at line 117 of file TBEStorage.hh.
Referenced by addEntryToNewSlot(), capacity(), removeEntryFromSlot(), slotsAvailable(), and TBEStorage().
|
private |
Definition at line 118 of file TBEStorage.hh.
Referenced by addEntryToNewSlot(), addEntryToSlot(), capacity(), removeEntryFromSlot(), and size().
|
private |
Referenced by addEntryToNewSlot(), decrementReserved(), incrementReserved(), and removeEntryFromSlot().