gem5 v24.0.0.0
|
Tree-PLRU-specific implementation of replacement data. More...
#include <tree_plru_rp.hh>
Public Member Functions | |
TreePLRUReplData (const uint64_t index, std::shared_ptr< PLRUTree > tree) | |
Default constructor. | |
Public Attributes | |
const uint64_t | index |
Theoretical index of this replacement data in the tree. | |
std::shared_ptr< PLRUTree > | tree |
Shared tree pointer. | |
Tree-PLRU-specific implementation of replacement data.
Each replacement data shares its tree with other entries.
Definition at line 132 of file tree_plru_rp.hh.
gem5::replacement_policy::TreePLRU::TreePLRUReplData::TreePLRUReplData | ( | const uint64_t | index, |
std::shared_ptr< PLRUTree > | tree ) |
Default constructor.
Invalidate data.
index | Index of the corresponding entry in the tree. |
tree | The shared tree pointer. |
Definition at line 98 of file tree_plru_rp.cc.
const uint64_t gem5::replacement_policy::TreePLRU::TreePLRUReplData::index |
Theoretical index of this replacement data in the tree.
In practice, the corresponding node does not exist, as the tree stores only the nodes that are not leaves.
Definition at line 139 of file tree_plru_rp.hh.
std::shared_ptr<PLRUTree> gem5::replacement_policy::TreePLRU::TreePLRUReplData::tree |
Shared tree pointer.
A tree is shared between numLeaves nodes, so that accesses to a replacement data entry updates the PLRU bits of all other replacement data entries in its set.
Definition at line 146 of file tree_plru_rp.hh.