gem5
|
Node which takes form of Leaf, INode or Root. More...
Public Member Functions | |
Node () | |
The discard flags are false by default they become true if the node is reached again in a future lookup. More... | |
Public Attributes | |
uint64_t | sumLeft |
uint64_t | sumRight |
bool | discardLeft |
bool | discardRight |
uint64_t | nodeIndex |
Node * | parent |
bool | isLeftNode |
bool | isMarked |
Flag to indicate if this address is marked. More... | |
Node which takes form of Leaf, INode or Root.
Definition at line 351 of file stack_dist_calc.hh.
|
inline |
The discard flags are false by default they become true if the node is reached again in a future lookup.
Definition at line 383 of file stack_dist_calc.hh.
bool StackDistCalc::Node::discardLeft |
Definition at line 359 of file stack_dist_calc.hh.
Referenced by StackDistCalc::updateSum(), and StackDistCalc::updateTree().
bool StackDistCalc::Node::discardRight |
Definition at line 362 of file stack_dist_calc.hh.
Referenced by StackDistCalc::updateSum().
bool StackDistCalc::Node::isLeftNode |
Definition at line 371 of file stack_dist_calc.hh.
Referenced by StackDistCalc::calcStackDistAndUpdate(), StackDistCalc::getSum(), StackDistCalc::getSumsLeavesToRoot(), StackDistCalc::updateSum(), StackDistCalc::updateSumsLeavesToRoot(), and StackDistCalc::updateTree().
bool StackDistCalc::Node::isMarked |
Flag to indicate if this address is marked.
Used in case where stack distance of a touched address is required.
Definition at line 377 of file stack_dist_calc.hh.
Referenced by StackDistCalc::calcStackDistAndUpdate().
uint64_t StackDistCalc::Node::nodeIndex |
Definition at line 365 of file stack_dist_calc.hh.
Referenced by StackDistCalc::calcStackDistAndUpdate(), StackDistCalc::printStack(), StackDistCalc::sanityCheckTree(), StackDistCalc::StackDistCalc(), StackDistCalc::updateSum(), and StackDistCalc::updateTree().
Node* StackDistCalc::Node::parent |
Definition at line 368 of file stack_dist_calc.hh.
Referenced by StackDistCalc::calcStackDistAndUpdate(), StackDistCalc::getSum(), StackDistCalc::getSumsLeavesToRoot(), StackDistCalc::sanityCheckTree(), StackDistCalc::updateSum(), StackDistCalc::updateSumsLeavesToRoot(), and StackDistCalc::updateTree().
uint64_t StackDistCalc::Node::sumLeft |
Definition at line 353 of file stack_dist_calc.hh.
Referenced by StackDistCalc::getSum(), StackDistCalc::updateSum(), StackDistCalc::updateSumsLeavesToRoot(), and StackDistCalc::updateTree().
uint64_t StackDistCalc::Node::sumRight |
Definition at line 356 of file stack_dist_calc.hh.
Referenced by StackDistCalc::getSum(), and StackDistCalc::updateSum().