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

#include <statistics.hh>

Inheritance diagram for gem5::statistics::ScalarProxyNode< Stat >:
gem5::statistics::Node

Public Member Functions

 ScalarProxyNode (const ScalarProxy< Stat > &p)
 
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

const ScalarProxy< Stat > proxy
 
VResult vresult
 

Detailed Description

template<class Stat>
class gem5::statistics::ScalarProxyNode< Stat >

Definition at line 1579 of file statistics.hh.

Constructor & Destructor Documentation

◆ ScalarProxyNode()

template<class Stat>
gem5::statistics::ScalarProxyNode< Stat >::ScalarProxyNode ( const ScalarProxy< Stat > & p)
inline

Definition at line 1586 of file statistics.hh.

References gem5::MipsISA::p, proxy, and vresult.

Member Function Documentation

◆ result()

template<class Stat>
const VResult & gem5::statistics::ScalarProxyNode< Stat >::result ( ) const
inlinevirtual

Return the result vector of this subtree.

Returns
The result vector of this subtree.

Implements gem5::statistics::Node.

Definition at line 1591 of file statistics.hh.

References proxy, and vresult.

◆ size()

template<class Stat>
size_type gem5::statistics::ScalarProxyNode< Stat >::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 1604 of file statistics.hh.

◆ str()

template<class Stat>
std::string gem5::statistics::ScalarProxyNode< Stat >::str ( ) const
inlinevirtual

Implements gem5::statistics::Node.

Definition at line 1613 of file statistics.hh.

References proxy.

◆ total()

template<class Stat>
Result gem5::statistics::ScalarProxyNode< Stat >::total ( ) const
inlinevirtual

Return the total of the result vector.

Returns
The total of the result vector.

Implements gem5::statistics::Node.

Definition at line 1598 of file statistics.hh.

References proxy.

Member Data Documentation

◆ proxy

template<class Stat>
const ScalarProxy<Stat> gem5::statistics::ScalarProxyNode< Stat >::proxy
private

Definition at line 1582 of file statistics.hh.

Referenced by result(), ScalarProxyNode(), str(), and total().

◆ vresult

template<class Stat>
VResult gem5::statistics::ScalarProxyNode< Stat >::vresult
mutableprivate

Definition at line 1583 of file statistics.hh.

Referenced by result(), and ScalarProxyNode().


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