gem5  v21.2.1.1
Public Member Functions | List of all members
gem5::statistics::Node Class Referenceabstract

Base class for formula statistic node. More...

#include <statistics.hh>

Inheritance diagram for gem5::statistics::Node:
gem5::statistics::BinaryNode< Op > gem5::statistics::ConstNode< T > gem5::statistics::ConstVectorNode< T > gem5::statistics::FormulaNode gem5::statistics::ScalarProxyNode< Stat > gem5::statistics::ScalarStatNode gem5::statistics::SumNode< Op > gem5::statistics::UnaryNode< Op > gem5::statistics::VectorStatNode

Public Member Functions

virtual size_type size () const =0
 Return the number of nodes in the subtree starting at this node. More...
virtual const VResultresult () 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
virtual ~Node ()

Detailed Description

Base class for formula statistic node.

These nodes are used to build a tree that represents the formula.

Definition at line 1523 of file statistics.hh.

Constructor & Destructor Documentation

◆ ~Node()

virtual gem5::statistics::Node::~Node ( )

Definition at line 1547 of file statistics.hh.

Member Function Documentation

◆ result()

virtual const VResult& gem5::statistics::Node::result ( ) const
pure virtual

◆ size()

virtual size_type gem5::statistics::Node::size ( ) const
pure virtual

◆ str()

virtual std::string gem5::statistics::Node::str ( ) const
pure virtual

◆ total()

virtual Result gem5::statistics::Node::total ( ) const
pure virtual

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

Generated on Wed May 4 2022 12:15:56 for gem5 by doxygen 1.8.17