gem5 v24.0.0.0
|
Classes | |
class | Base |
A common base class of cache replacement policy objects. More... | |
class | BIP |
class | BRRIP |
class | Dueling |
This replacement policy duels two replacement policies to find out which one provides the best results. More... | |
class | FIFO |
class | LFU |
class | LRU |
class | MRU |
class | Random |
struct | ReplacementData |
The replacement data needed by replacement policies. More... | |
class | SecondChance |
class | SHiP |
class | SHiPMem |
SHiP that Uses memory addresses as signatures. More... | |
class | SHiPPC |
SHiP that Uses PCs as signatures. More... | |
class | TreePLRU |
class | WeightedLRU |
Functions | |
static uint64_t | parentIndex (const uint64_t index) |
Get the index of the parent of the given indexed subtree. | |
static uint64_t | leftSubtreeIndex (const uint64_t index) |
Get index of the subtree on the left of the given indexed tree. | |
static uint64_t | rightSubtreeIndex (const uint64_t index) |
Get index of the subtree on the right of the given indexed tree. | |
static bool | isRightSubtree (const uint64_t index) |
Find out if the subtree at index corresponds to the right or left subtree of its parent tree. | |
|
static |
Find out if the subtree at index corresponds to the right or left subtree of its parent tree.
index | The index of the subtree. |
Definition at line 93 of file tree_plru_rp.cc.
References gem5::MipsISA::index.
Referenced by gem5::replacement_policy::TreePLRU::invalidate(), and gem5::replacement_policy::TreePLRU::touch().
|
static |
Get index of the subtree on the left of the given indexed tree.
index | The index of the queried tree. |
Definition at line 68 of file tree_plru_rp.cc.
References gem5::MipsISA::index.
Referenced by gem5::replacement_policy::TreePLRU::getVictim().
|
static |
Get the index of the parent of the given indexed subtree.
Index | of the queried tree. |
Definition at line 56 of file tree_plru_rp.cc.
References gem5::MipsISA::index.
Referenced by gem5::replacement_policy::TreePLRU::invalidate(), and gem5::replacement_policy::TreePLRU::touch().
|
static |
Get index of the subtree on the right of the given indexed tree.
index | The index of the queried tree. |
Definition at line 80 of file tree_plru_rp.cc.
References gem5::MipsISA::index.
Referenced by gem5::replacement_policy::TreePLRU::getVictim().