gem5 v24.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. | |
Result | total () const override |
Return the total of the result vector. | |
size_type | size () const override |
Return the number of nodes in the subtree starting at this node. | |
std::string | str () const override |
Public Member Functions inherited from gem5::statistics::Node | |
virtual | ~Node () |
Public Attributes | |
NodePtr | l |
NodePtr | r |
VResult | vresult |
Definition at line 1766 of file statistics.hh.
|
inline |
Definition at line 1774 of file statistics.hh.
|
inlineoverridevirtual |
Return the result vector of this subtree.
Implements gem5::statistics::Node.
Definition at line 1777 of file statistics.hh.
References gem5::ArmISA::i, gem5::statistics::BinaryNode< Op >::l, gem5::X86ISA::op, gem5::statistics::BinaryNode< Op >::r, gem5::statistics::BinaryNode< Op >::size(), and gem5::statistics::BinaryNode< Op >::vresult.
Referenced by gem5::statistics::BinaryNode< Op >::total().
|
inlineoverridevirtual |
Return the number of nodes in the subtree starting at this node.
Implements gem5::statistics::Node.
Definition at line 1841 of file statistics.hh.
References gem5::statistics::BinaryNode< Op >::l, gem5::statistics::BinaryNode< Op >::r, and gem5::ArmISA::rs.
Referenced by gem5::statistics::BinaryNode< Op >::result(), and gem5::statistics::BinaryNode< Op >::total().
|
inlineoverridevirtual |
Implements gem5::statistics::Node.
Definition at line 1856 of file statistics.hh.
References gem5::csprintf(), gem5::statistics::BinaryNode< Op >::l, and gem5::statistics::BinaryNode< Op >::r.
|
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 gem5::statistics::Node.
Definition at line 1809 of file statistics.hh.
References gem5::ArmISA::i, gem5::statistics::BinaryNode< Op >::l, gem5::X86ISA::op, gem5::statistics::BinaryNode< Op >::r, gem5::statistics::BinaryNode< Op >::result(), gem5::statistics::BinaryNode< Op >::size(), gem5::statistics::BinaryNode< Op >::total(), and gem5::PowerISA::vec.
Referenced by gem5::statistics::BinaryNode< Op >::total().
NodePtr gem5::statistics::BinaryNode< Op >::l |
Definition at line 1769 of file statistics.hh.
Referenced by gem5::statistics::BinaryNode< Op >::result(), gem5::statistics::BinaryNode< Op >::size(), gem5::statistics::BinaryNode< Op >::str(), and gem5::statistics::BinaryNode< Op >::total().
NodePtr gem5::statistics::BinaryNode< Op >::r |
Definition at line 1770 of file statistics.hh.
Referenced by gem5::statistics::BinaryNode< Op >::result(), gem5::statistics::BinaryNode< Op >::size(), gem5::statistics::BinaryNode< Op >::str(), and gem5::statistics::BinaryNode< Op >::total().
|
mutable |
Definition at line 1771 of file statistics.hh.
Referenced by gem5::statistics::BinaryNode< Op >::result().