gem5
|
Base class for formula statistic node. More...
#include <statistics.hh>
Public Member Functions | |
virtual size_type | size () const =0 |
Return the number of nodes in the subtree starting at this node. More... | |
virtual const VResult & | result () const =0 |
Return the result vector of this subtree. More... | |
virtual Result | total () const =0 |
Return the total of the result vector. More... | |
virtual std::string | str () const =0 |
Base class for formula statistic node.
These nodes are used to build a tree that represents the formula.
Definition at line 2070 of file statistics.hh.
|
pure virtual |
Return the result vector of this subtree.
Implemented in Stats::FormulaNode, Stats::SumNode< Op >, Stats::BinaryNode< Op >, Stats::UnaryNode< Op >, Stats::ConstVectorNode< T >, Stats::ConstNode< T >, Stats::VectorStatNode, Stats::ScalarProxyNode< Stat >, and Stats::ScalarStatNode.
|
pure virtual |
Return the number of nodes in the subtree starting at this node.
Implemented in Stats::FormulaNode, Stats::SumNode< Op >, Stats::BinaryNode< Op >, Stats::UnaryNode< Op >, Stats::ConstVectorNode< T >, Stats::ConstNode< T >, Stats::VectorStatNode, Stats::ScalarProxyNode< Stat >, and Stats::ScalarStatNode.
|
pure virtual |
|
pure virtual |
Return the total of the result vector.
Implemented in Stats::FormulaNode, Stats::SumNode< Op >, Stats::BinaryNode< Op >, Stats::UnaryNode< Op >, Stats::ConstVectorNode< T >, Stats::ConstNode< T >, Stats::VectorStatNode, Stats::ScalarProxyNode< Stat >, and Stats::ScalarStatNode.