gem5
v19.0.0.0
|
#include <statistics.hh>
Public Member Functions | |
BinaryNode (NodePtr &a, NodePtr &b) | |
const VResult & | result () const override |
Return the result vector of this subtree. More... | |
Result | total () const override |
Return the total of the result vector. More... | |
size_type | size () const override |
Return the number of nodes in the subtree starting at this node. More... | |
std::string | str () const override |
![]() | |
virtual | ~Node () |
Public Attributes | |
NodePtr | l |
NodePtr | r |
VResult | vresult |
Definition at line 2345 of file statistics.hh.
|
inline |
Definition at line 2353 of file statistics.hh.
|
inlineoverridevirtual |
Return the result vector of this subtree.
Implements Stats::Node.
Definition at line 2356 of file statistics.hh.
References ArmISA::i, and X86ISA::op.
|
inlineoverridevirtual |
Return the number of nodes in the subtree starting at this node.
Implements Stats::Node.
Definition at line 2420 of file statistics.hh.
References ArmISA::rs.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Return the total of the result vector.
If vectors are the same divide their sums (x0+x1)/(y0+y1)
Otherwise divide each item by the divisor
Implements Stats::Node.
Definition at line 2388 of file statistics.hh.
References ArmISA::i, X86ISA::op, and Stats::total.
NodePtr Stats::BinaryNode< Op >::l |
Definition at line 2348 of file statistics.hh.
NodePtr Stats::BinaryNode< Op >::r |
Definition at line 2349 of file statistics.hh.
|
mutable |
Definition at line 2350 of file statistics.hh.