gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
virtual const VResultresult () const =0
 Return the result vector of this subtree.
 
virtual Result total () const =0
 Return the total of the result vector.
 
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 1522 of file statistics.hh.

Constructor & Destructor Documentation

◆ ~Node()

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

Definition at line 1546 of file statistics.hh.

Member Function Documentation

◆ result()

◆ size()

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

◆ str()

◆ total()


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

Generated on Tue Jun 18 2024 16:24:24 for gem5 by doxygen 1.11.0