gem5
v20.1.0.0
|
#include <statistics.hh>
Public Member Functions | |
FormulaNode (const Formula &f) | |
size_type | size () const |
Return the number of nodes in the subtree starting at this node. More... | |
const VResult & | result () const |
Return the result vector of this subtree. More... | |
Result | total () const |
Return the total of the result vector. More... | |
std::string | str () const |
Public Member Functions inherited from Stats::Node | |
virtual | ~Node () |
Private Attributes | |
const Formula & | formula |
VResult | vec |
Definition at line 3123 of file statistics.hh.
|
inline |
Definition at line 3130 of file statistics.hh.
|
inlinevirtual |
Return the result vector of this subtree.
Implements Stats::Node.
Definition at line 3133 of file statistics.hh.
References formula, Stats::Formula::result(), and vec.
|
inlinevirtual |
Return the number of nodes in the subtree starting at this node.
Implements Stats::Node.
Definition at line 3132 of file statistics.hh.
References formula, and Stats::Formula::size().
|
inlinevirtual |
Implements Stats::Node.
Definition at line 3136 of file statistics.hh.
References formula, and Stats::Formula::str().
|
inlinevirtual |
Return the total of the result vector.
Implements Stats::Node.
Definition at line 3134 of file statistics.hh.
References formula, and Stats::Formula::total().
|
private |
|
mutableprivate |
Definition at line 3127 of file statistics.hh.
Referenced by result().