gem5  v21.1.0.2
Public Member Functions | Protected Attributes | List of all members
gem5::statistics::Temp Class Reference

Helper class to construct formula node trees. More...

#include <statistics.hh>

Public Member Functions

 Temp (const NodePtr &n)
 Copy the given pointer to this class. More...
 
 Temp (NodePtr &&n)
 
 operator NodePtr & ()
 Return the node pointer. More...
 
NodePtr getNodePtr () const
 Makde gcc < 4.6.3 happy and explicitly get the underlying node. More...
 
 Temp (const Scalar &s)
 Create a new ScalarStatNode. More...
 
 Temp (const Value &s)
 Create a new ScalarStatNode. More...
 
 Temp (const Average &s)
 Create a new ScalarStatNode. More...
 
 Temp (const Vector &s)
 Create a new VectorStatNode. More...
 
 Temp (const AverageVector &s)
 
 Temp (const Formula &f)
 
template<class Stat >
 Temp (const ScalarProxy< Stat > &p)
 Create a new ScalarProxyNode. More...
 
 Temp (signed char value)
 Create a ConstNode. More...
 
 Temp (unsigned char value)
 Create a ConstNode. More...
 
 Temp (signed short value)
 Create a ConstNode. More...
 
 Temp (unsigned short value)
 Create a ConstNode. More...
 
 Temp (signed int value)
 Create a ConstNode. More...
 
 Temp (unsigned int value)
 Create a ConstNode. More...
 
 Temp (signed long value)
 Create a ConstNode. More...
 
 Temp (unsigned long value)
 Create a ConstNode. More...
 
 Temp (signed long long value)
 Create a ConstNode. More...
 
 Temp (unsigned long long value)
 Create a ConstNode. More...
 
 Temp (float value)
 Create a ConstNode. More...
 
 Temp (double value)
 Create a ConstNode. More...
 

Protected Attributes

NodePtr node
 Pointer to a Node object. More...
 

Detailed Description

Helper class to construct formula node trees.

Definition at line 2647 of file statistics.hh.

Constructor & Destructor Documentation

◆ Temp() [1/21]

gem5::statistics::Temp::Temp ( const NodePtr n)
inline

Copy the given pointer to this class.

Parameters
nA pointer to a Node object to copy.

Definition at line 2660 of file statistics.hh.

◆ Temp() [2/21]

gem5::statistics::Temp::Temp ( NodePtr &&  n)
inline

Definition at line 2662 of file statistics.hh.

◆ Temp() [3/21]

gem5::statistics::Temp::Temp ( const Scalar s)
inline

Create a new ScalarStatNode.

Parameters
sThe ScalarStat to place in a node.

Definition at line 2680 of file statistics.hh.

◆ Temp() [4/21]

gem5::statistics::Temp::Temp ( const Value s)
inline

Create a new ScalarStatNode.

Parameters
sThe ScalarStat to place in a node.

Definition at line 2688 of file statistics.hh.

◆ Temp() [5/21]

gem5::statistics::Temp::Temp ( const Average s)
inline

Create a new ScalarStatNode.

Parameters
sThe ScalarStat to place in a node.

Definition at line 2696 of file statistics.hh.

◆ Temp() [6/21]

gem5::statistics::Temp::Temp ( const Vector s)
inline

Create a new VectorStatNode.

Parameters
sThe VectorStat to place in a node.

Definition at line 2704 of file statistics.hh.

◆ Temp() [7/21]

gem5::statistics::Temp::Temp ( const AverageVector s)
inline

Definition at line 2708 of file statistics.hh.

◆ Temp() [8/21]

gem5::statistics::Temp::Temp ( const Formula f)
inline

Definition at line 2715 of file statistics.hh.

◆ Temp() [9/21]

template<class Stat >
gem5::statistics::Temp::Temp ( const ScalarProxy< Stat > &  p)
inline

Create a new ScalarProxyNode.

Parameters
pThe ScalarProxy to place in a node.

Definition at line 2724 of file statistics.hh.

◆ Temp() [10/21]

gem5::statistics::Temp::Temp ( signed char  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2732 of file statistics.hh.

◆ Temp() [11/21]

gem5::statistics::Temp::Temp ( unsigned char  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2740 of file statistics.hh.

◆ Temp() [12/21]

gem5::statistics::Temp::Temp ( signed short  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2748 of file statistics.hh.

◆ Temp() [13/21]

gem5::statistics::Temp::Temp ( unsigned short  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2756 of file statistics.hh.

◆ Temp() [14/21]

gem5::statistics::Temp::Temp ( signed int  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2764 of file statistics.hh.

◆ Temp() [15/21]

gem5::statistics::Temp::Temp ( unsigned int  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2772 of file statistics.hh.

◆ Temp() [16/21]

gem5::statistics::Temp::Temp ( signed long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2780 of file statistics.hh.

◆ Temp() [17/21]

gem5::statistics::Temp::Temp ( unsigned long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2788 of file statistics.hh.

◆ Temp() [18/21]

gem5::statistics::Temp::Temp ( signed long long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2796 of file statistics.hh.

◆ Temp() [19/21]

gem5::statistics::Temp::Temp ( unsigned long long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2804 of file statistics.hh.

◆ Temp() [20/21]

gem5::statistics::Temp::Temp ( float  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2812 of file statistics.hh.

◆ Temp() [21/21]

gem5::statistics::Temp::Temp ( double  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 2820 of file statistics.hh.

Member Function Documentation

◆ getNodePtr()

NodePtr gem5::statistics::Temp::getNodePtr ( ) const
inline

Makde gcc < 4.6.3 happy and explicitly get the underlying node.

Definition at line 2673 of file statistics.hh.

References node.

◆ operator NodePtr &()

gem5::statistics::Temp::operator NodePtr & ( )
inline

Return the node pointer.

Returns
the node pointer.

Definition at line 2668 of file statistics.hh.

References node.

Member Data Documentation

◆ node

NodePtr gem5::statistics::Temp::node
protected

Pointer to a Node object.

Definition at line 2653 of file statistics.hh.

Referenced by getNodePtr(), and operator NodePtr &().


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

Generated on Tue Sep 21 2021 12:32:31 for gem5 by doxygen 1.8.17