gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
Stats::ConstVectorNode< T > Class Template Reference

#include <statistics.hh>

Inheritance diagram for Stats::ConstVectorNode< T >:
Stats::Node

Public Member Functions

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

Private Attributes

VResult vresult
 

Detailed Description

template<class T>
class Stats::ConstVectorNode< T >

Definition at line 2253 of file statistics.hh.

Constructor & Destructor Documentation

◆ ConstVectorNode()

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

Definition at line 2259 of file statistics.hh.

Member Function Documentation

◆ result()

template<class T >
const VResult& Stats::ConstVectorNode< T >::result ( ) const
inlinevirtual

Return the result vector of this subtree.

Returns
The result vector of this subtree.

Implements Stats::Node.

Definition at line 2260 of file statistics.hh.

References Stats::ConstVectorNode< T >::vresult.

◆ size()

template<class T >
size_type Stats::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 Stats::Node.

Definition at line 2272 of file statistics.hh.

References Stats::ConstVectorNode< T >::vresult.

Referenced by Stats::ConstVectorNode< T >::str(), and Stats::ConstVectorNode< T >::total().

◆ str()

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

◆ total()

template<class T >
Result Stats::ConstVectorNode< T >::total ( ) const
inlinevirtual

Return the total of the result vector.

Returns
The total of the result vector.

Implements Stats::Node.

Definition at line 2263 of file statistics.hh.

References ArmISA::i, Stats::ConstVectorNode< T >::size(), and Stats::ConstVectorNode< T >::vresult.

Member Data Documentation

◆ vresult

template<class T >
VResult Stats::ConstVectorNode< T >::vresult
private

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

Generated on Wed Sep 30 2020 14:03:12 for gem5 by doxygen 1.8.17