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

#include <statistics.hh>

Inheritance diagram for Stats::UnaryNode< Op >:
Stats::Node

Public Member Functions

 UnaryNode (NodePtr &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
 

Public Attributes

NodePtr l
 
VResult vresult
 

Detailed Description

template<class Op>
class Stats::UnaryNode< Op >

Definition at line 2267 of file statistics.hh.

Constructor & Destructor Documentation

template<class Op >
Stats::UnaryNode< Op >::UnaryNode ( NodePtr p)
inline

Definition at line 2274 of file statistics.hh.

Member Function Documentation

template<class Op >
const VResult& Stats::UnaryNode< Op >::result ( ) const
inlinevirtual

Return the result vector of this subtree.

Returns
The result vector of this subtree.

Implements Stats::Node.

Definition at line 2277 of file statistics.hh.

References ArmISA::i, Stats::UnaryNode< Op >::l, X86ISA::op, Stats::UnaryNode< Op >::size(), and Stats::UnaryNode< Op >::vresult.

Referenced by Stats::UnaryNode< Op >::total().

template<class Op >
size_type Stats::UnaryNode< Op >::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 2302 of file statistics.hh.

References Stats::UnaryNode< Op >::l.

Referenced by Stats::UnaryNode< Op >::result(), and Stats::UnaryNode< Op >::total().

template<class Op >
std::string Stats::UnaryNode< Op >::str ( ) const
inlinevirtual

Implements Stats::Node.

Definition at line 2305 of file statistics.hh.

References Stats::UnaryNode< Op >::l.

template<class Op >
Result Stats::UnaryNode< Op >::total ( ) const
inlinevirtual

Return the total of the result vector.

Returns
The total of the result vector.

Implements Stats::Node.

Definition at line 2293 of file statistics.hh.

References ArmISA::i, Stats::UnaryNode< Op >::result(), and Stats::UnaryNode< Op >::size().

Member Data Documentation

template<class Op >
NodePtr Stats::UnaryNode< Op >::l
template<class Op >
VResult Stats::UnaryNode< Op >::vresult
mutable

Definition at line 2271 of file statistics.hh.

Referenced by Stats::UnaryNode< Op >::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