gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::statistics::UnaryNode< Op > Class Template Reference

#include <statistics.hh>

Inheritance diagram for gem5::statistics::UnaryNode< Op >:
gem5::statistics::Node

Public Member Functions

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

Public Attributes

NodePtr l
 
VResult vresult
 

Detailed Description

template<class Op>
class gem5::statistics::UnaryNode< Op >

Definition at line 1721 of file statistics.hh.

Constructor & Destructor Documentation

◆ UnaryNode()

template<class Op >
gem5::statistics::UnaryNode< Op >::UnaryNode ( NodePtr & p)
inline

Definition at line 1728 of file statistics.hh.

Member Function Documentation

◆ result()

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

Return the result vector of this subtree.

Returns
The result vector of this subtree.

Implements gem5::statistics::Node.

Definition at line 1731 of file statistics.hh.

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

Referenced by gem5::statistics::UnaryNode< Op >::total().

◆ size()

template<class Op >
size_type gem5::statistics::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 gem5::statistics::Node.

Definition at line 1756 of file statistics.hh.

References gem5::statistics::UnaryNode< Op >::l.

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

◆ str()

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

Implements gem5::statistics::Node.

Definition at line 1759 of file statistics.hh.

References gem5::statistics::UnaryNode< Op >::l.

◆ total()

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

Return the total of the result vector.

Returns
The total of the result vector.

Implements gem5::statistics::Node.

Definition at line 1747 of file statistics.hh.

References gem5::ArmISA::i, gem5::statistics::UnaryNode< Op >::result(), gem5::statistics::UnaryNode< Op >::size(), gem5::statistics::UnaryNode< Op >::total(), and gem5::PowerISA::vec.

Referenced by gem5::statistics::UnaryNode< Op >::total().

Member Data Documentation

◆ l

◆ vresult

template<class Op >
VResult gem5::statistics::UnaryNode< Op >::vresult
mutable

Definition at line 1725 of file statistics.hh.

Referenced by gem5::statistics::UnaryNode< Op >::result().


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

Generated on Tue Jun 18 2024 16:24:24 for gem5 by doxygen 1.11.0