gem5  v20.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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 Member Functions inherited from Stats::Node
virtual ~Node ()
 

Public Attributes

NodePtr l
 
VResult vresult
 

Detailed Description

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

Definition at line 2297 of file statistics.hh.

Constructor & Destructor Documentation

◆ UnaryNode()

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

Definition at line 2304 of file statistics.hh.

Member Function Documentation

◆ result()

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 2307 of file statistics.hh.

References ArmISA::i, and X86ISA::op.

◆ size()

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 2332 of file statistics.hh.

◆ str()

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

Implements Stats::Node.

Definition at line 2335 of file statistics.hh.

◆ total()

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 2323 of file statistics.hh.

References ArmISA::i, and Stats::total.

Member Data Documentation

◆ l

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

Definition at line 2300 of file statistics.hh.

◆ vresult

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

Definition at line 2301 of file statistics.hh.


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

Generated on Thu May 28 2020 16:22:27 for gem5 by doxygen 1.8.13