gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
gem5::statistics::ScalarStatNode Class Reference

#include <statistics.hh>

Inheritance diagram for gem5::statistics::ScalarStatNode:
gem5::statistics::Node

Public Member Functions

 ScalarStatNode (const ScalarInfo *d)
 
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 ()
 

Private Attributes

const ScalarInfodata
 
VResult vresult
 

Detailed Description

Definition at line 1552 of file statistics.hh.

Constructor & Destructor Documentation

◆ ScalarStatNode()

gem5::statistics::ScalarStatNode::ScalarStatNode ( const ScalarInfo * d)
inline

Definition at line 1559 of file statistics.hh.

References gem5::ArmISA::d, data, and vresult.

Member Function Documentation

◆ result()

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

Return the result vector of this subtree.

Returns
The result vector of this subtree.

Implements gem5::statistics::Node.

Definition at line 1562 of file statistics.hh.

References data, and vresult.

◆ size()

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

◆ str()

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

Implements gem5::statistics::Node.

Definition at line 1575 of file statistics.hh.

References data.

◆ total()

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

Return the total of the result vector.

Returns
The total of the result vector.

Implements gem5::statistics::Node.

Definition at line 1568 of file statistics.hh.

References data.

Member Data Documentation

◆ data

const ScalarInfo* gem5::statistics::ScalarStatNode::data
private

Definition at line 1555 of file statistics.hh.

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

◆ vresult

VResult gem5::statistics::ScalarStatNode::vresult
mutableprivate

Definition at line 1556 of file statistics.hh.

Referenced by result(), and ScalarStatNode().


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

Generated on Mon May 26 2025 09:19:38 for gem5 by doxygen 1.13.2