gem5  v22.1.0.0
Public Member Functions | Private Attributes | List of all members
gem5::statistics::VectorStatNode Class Reference

#include <statistics.hh>

Inheritance diagram for gem5::statistics::VectorStatNode:
gem5::statistics::Node

Public Member Functions

 VectorStatNode (const VectorInfo *d)
 
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 gem5::statistics::Node
virtual ~Node ()
 

Private Attributes

const VectorInfodata
 

Detailed Description

Definition at line 1620 of file statistics.hh.

Constructor & Destructor Documentation

◆ VectorStatNode()

gem5::statistics::VectorStatNode::VectorStatNode ( const VectorInfo d)
inline

Definition at line 1626 of file statistics.hh.

Member Function Documentation

◆ result()

const VResult& gem5::statistics::VectorStatNode::result ( ) const
inlinevirtual

Return the result vector of this subtree.

Returns
The result vector of this subtree.

Implements gem5::statistics::Node.

Definition at line 1627 of file statistics.hh.

References data, and gem5::statistics::VectorInfo::result().

◆ size()

size_type gem5::statistics::VectorStatNode::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 1630 of file statistics.hh.

References data, and gem5::statistics::VectorInfo::size().

◆ str()

std::string gem5::statistics::VectorStatNode::str ( ) const
inlinevirtual

Implements gem5::statistics::Node.

Definition at line 1632 of file statistics.hh.

References data, and gem5::statistics::Info::name.

◆ total()

Result gem5::statistics::VectorStatNode::total ( ) const
inlinevirtual

Return the total of the result vector.

Returns
The total of the result vector.

Implements gem5::statistics::Node.

Definition at line 1628 of file statistics.hh.

References data, and gem5::statistics::VectorInfo::total().

Member Data Documentation

◆ data

const VectorInfo* gem5::statistics::VectorStatNode::data
private

Definition at line 1623 of file statistics.hh.

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


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

Generated on Wed Dec 21 2022 10:24:26 for gem5 by doxygen 1.9.1