gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Stats::ScalarProxyNode< Stat > Class Template Reference

#include <statistics.hh>

Inheritance diagram for Stats::ScalarProxyNode< Stat >:
Stats::Node

Public Member Functions

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

Private Attributes

const ScalarProxy< Stat > proxy
 
VResult vresult
 

Detailed Description

template<class Stat>
class Stats::ScalarProxyNode< Stat >

Definition at line 2125 of file statistics.hh.

Constructor & Destructor Documentation

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

Definition at line 2132 of file statistics.hh.

Member Function Documentation

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

Return the result vector of this subtree.

Returns
The result vector of this subtree.

Implements Stats::Node.

Definition at line 2137 of file statistics.hh.

References Stats::ScalarProxyNode< Stat >::proxy, and Stats::ScalarProxyNode< Stat >::vresult.

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

Definition at line 2150 of file statistics.hh.

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

Implements Stats::Node.

Definition at line 2159 of file statistics.hh.

References Stats::ScalarProxyNode< Stat >::proxy.

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

Return the total of the result vector.

Returns
The total of the result vector.

Implements Stats::Node.

Definition at line 2144 of file statistics.hh.

References Stats::ScalarProxyNode< Stat >::proxy.

Member Data Documentation

template<class Stat >
const ScalarProxy<Stat> Stats::ScalarProxyNode< Stat >::proxy
private
template<class Stat >
VResult Stats::ScalarProxyNode< Stat >::vresult
mutableprivate

Definition at line 2129 of file statistics.hh.

Referenced by Stats::ScalarProxyNode< Stat >::result().


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

Generated on Fri Jun 9 2017 13:04:39 for gem5 by doxygen 1.8.6