gem5 [DEVELOP-FOR-25.1]
Loading...
Searching...
No Matches
gem5::statistics::FormulaNode Class Reference

#include <statistics.hh>

Inheritance diagram for gem5::statistics::FormulaNode:
gem5::statistics::Node

Public Member Functions

 FormulaNode (const Formula &f)
size_type size () const
 Return the number of nodes in the subtree starting at this node.
const VResult & result () const
 Return the result vector of this subtree.
Result total () const
 Return the total of the result vector.
std::string str () const
Public Member Functions inherited from gem5::statistics::Node
virtual ~Node ()

Private Attributes

const Formula & formula
VResult vec

Detailed Description

Definition at line 2630 of file statistics.hh.

Constructor & Destructor Documentation

◆ FormulaNode()

gem5::statistics::FormulaNode::FormulaNode ( const Formula & f)
inline

Definition at line 2637 of file statistics.hh.

References gem5::ArmISA::f, and formula.

Member Function Documentation

◆ result()

const VResult & gem5::statistics::FormulaNode::result ( ) const
inlinevirtual

Return the result vector of this subtree.

Returns
The result vector of this subtree.

Implements gem5::statistics::Node.

Definition at line 2640 of file statistics.hh.

References formula, and vec.

◆ size()

size_type gem5::statistics::FormulaNode::size ( ) const
inlinevirtual

Return the number of nodes in the subtree starting at this node.

Returns
the number of nodes in this subtree.

Implements gem5::statistics::Node.

Definition at line 2639 of file statistics.hh.

References formula.

◆ str()

std::string gem5::statistics::FormulaNode::str ( ) const
inlinevirtual

Implements gem5::statistics::Node.

Definition at line 2643 of file statistics.hh.

References formula.

◆ total()

Result gem5::statistics::FormulaNode::total ( ) const
inlinevirtual

Return the total of the result vector.

Returns
The total of the result vector.

Implements gem5::statistics::Node.

Definition at line 2641 of file statistics.hh.

References formula.

Member Data Documentation

◆ formula

const Formula& gem5::statistics::FormulaNode::formula
private

Definition at line 2633 of file statistics.hh.

Referenced by FormulaNode(), result(), size(), str(), and total().

◆ vec

VResult gem5::statistics::FormulaNode::vec
mutableprivate

Definition at line 2634 of file statistics.hh.

Referenced by result().


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

Generated on Mon Oct 27 2025 04:13:24 for gem5 by doxygen 1.14.0