gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
gem5::statistics::ConstVectorNode< T > Class Template Reference

#include <statistics.hh>

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

Public Member Functions

 ConstVectorNode (const 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::ConstVectorNode< T >

Definition at line 1649 of file statistics.hh.

Constructor & Destructor Documentation

◆ ConstVectorNode()

template<class T>
gem5::statistics::ConstVectorNode< T >::ConstVectorNode ( const T & s)
inline

Definition at line 1655 of file statistics.hh.

References gem5::ArmISA::s, and vresult.

Member Function Documentation

◆ result()

template<class T>
const VResult & gem5::statistics::ConstVectorNode< 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 1656 of file statistics.hh.

References vresult.

◆ size()

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

References vresult.

Referenced by str(), and total().

◆ str()

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

Implements gem5::statistics::Node.

Definition at line 1670 of file statistics.hh.

References gem5::csprintf(), gem5::ArmISA::i, size(), and vresult.

◆ total()

template<class T>
Result gem5::statistics::ConstVectorNode< 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 1659 of file statistics.hh.

References gem5::ArmISA::i, size(), and vresult.

Member Data Documentation

◆ vresult

template<class T>
VResult gem5::statistics::ConstVectorNode< T >::vresult
private

Definition at line 1652 of file statistics.hh.

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


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

Generated on Mon May 26 2025 09:19:38 for gem5 by doxygen 1.13.2