gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Stats::VectorStatNode Class Reference

#include <statistics.hh>

Inheritance diagram for Stats::VectorStatNode:
Stats::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
 

Private Attributes

const VectorInfodata
 

Detailed Description

Definition at line 2165 of file statistics.hh.

Constructor & Destructor Documentation

Stats::VectorStatNode::VectorStatNode ( const VectorInfo d)
inline

Definition at line 2171 of file statistics.hh.

Member Function Documentation

const VResult& Stats::VectorStatNode::result ( ) const
inlinevirtual

Return the result vector of this subtree.

Returns
The result vector of this subtree.

Implements Stats::Node.

Definition at line 2172 of file statistics.hh.

References data, and Stats::VectorInfo::result().

size_type Stats::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 Stats::Node.

Definition at line 2175 of file statistics.hh.

References data, and Stats::VectorInfo::size().

std::string Stats::VectorStatNode::str ( ) const
inlinevirtual

Implements Stats::Node.

Definition at line 2177 of file statistics.hh.

References data, and Stats::Info::name.

Result Stats::VectorStatNode::total ( ) const
inlinevirtual

Return the total of the result vector.

Returns
The total of the result vector.

Implements Stats::Node.

Definition at line 2173 of file statistics.hh.

References data, and Stats::VectorInfo::total().

Member Data Documentation

const VectorInfo* Stats::VectorStatNode::data
private

Definition at line 2168 of file statistics.hh.

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


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