gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::statistics::ConstNode< T > Class Template Reference

#include <statistics.hh>

Inheritance diagram for gem5::statistics::ConstNode< T >:
gem5::statistics::Node

Public Member Functions

 ConstNode (T s)
 
const VResultresult () const
 Return the result vector of this subtree.
 
Result total () const
 Return the total of the result vector.
 
size_type size () const
 Return the number of nodes in the subtree starting at this node.
 
std::string str () const
 
- Public Member Functions inherited from gem5::statistics::Node
virtual ~Node ()
 

Private Attributes

VResult vresult
 

Detailed Description

template<class T>
class gem5::statistics::ConstNode< T >

Definition at line 1635 of file statistics.hh.

Constructor & Destructor Documentation

◆ ConstNode()

template<class T >
gem5::statistics::ConstNode< T >::ConstNode ( T s)
inline

Definition at line 1641 of file statistics.hh.

Member Function Documentation

◆ result()

template<class T >
const VResult & gem5::statistics::ConstNode< T >::result ( ) const
inlinevirtual

Return the result vector of this subtree.

Returns
The result vector of this subtree.

Implements gem5::statistics::Node.

Definition at line 1642 of file statistics.hh.

References gem5::statistics::ConstNode< T >::vresult.

◆ size()

template<class T >
size_type gem5::statistics::ConstNode< T >::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 1644 of file statistics.hh.

◆ str()

template<class T >
std::string gem5::statistics::ConstNode< T >::str ( ) const
inlinevirtual

Implements gem5::statistics::Node.

Definition at line 1645 of file statistics.hh.

References gem5::statistics::ConstNode< T >::vresult.

◆ total()

template<class T >
Result gem5::statistics::ConstNode< T >::total ( ) const
inlinevirtual

Return the total of the result vector.

Returns
The total of the result vector.

Implements gem5::statistics::Node.

Definition at line 1643 of file statistics.hh.

References gem5::statistics::ConstNode< T >::vresult.

Member Data Documentation

◆ vresult


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

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