gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
StackDistCalc::Node Struct Reference

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
 
Nodeparent
 
bool isLeftNode
 
bool isMarked
 Flag to indicate if this address is marked. More...
 

Detailed Description

Node which takes form of Leaf, INode or Root.

Definition at line 348 of file stack_dist_calc.hh.

Constructor & Destructor Documentation

◆ Node()

StackDistCalc::Node::Node ( )
inline

The discard flags are false by default they become true if the node is reached again in a future lookup.

Definition at line 380 of file stack_dist_calc.hh.

Member Data Documentation

◆ discardLeft

bool StackDistCalc::Node::discardLeft

Definition at line 356 of file stack_dist_calc.hh.

Referenced by StackDistCalc::updateSum(), and StackDistCalc::updateTree().

◆ discardRight

bool StackDistCalc::Node::discardRight

Definition at line 359 of file stack_dist_calc.hh.

Referenced by StackDistCalc::updateSum().

◆ isLeftNode

bool StackDistCalc::Node::isLeftNode

◆ isMarked

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 374 of file stack_dist_calc.hh.

Referenced by StackDistCalc::calcStackDistAndUpdate().

◆ nodeIndex

uint64_t StackDistCalc::Node::nodeIndex

◆ parent

Node* StackDistCalc::Node::parent

◆ sumLeft

uint64_t StackDistCalc::Node::sumLeft

◆ sumRight

uint64_t StackDistCalc::Node::sumRight

Definition at line 353 of file stack_dist_calc.hh.

Referenced by StackDistCalc::getSum(), and StackDistCalc::updateSum().


The documentation for this struct was generated from the following file:

Generated on Wed Sep 30 2020 14:02:32 for gem5 by doxygen 1.8.17