gem5  v21.2.1.1
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 2650 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 2663 of file statistics.hh.

◆ Temp() [2/21]

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

Definition at line 2665 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 2683 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 2691 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 2699 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 2707 of file statistics.hh.

◆ Temp() [7/21]

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

Definition at line 2711 of file statistics.hh.

◆ Temp() [8/21]

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

Definition at line 2718 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 2727 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 2735 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 2743 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 2751 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 2759 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 2767 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 2775 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 2783 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 2791 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 2799 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 2807 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 2815 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 2823 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 2676 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 2671 of file statistics.hh.

References node.

Member Data Documentation

◆ node

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

Pointer to a Node object.

Definition at line 2656 of file statistics.hh.

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


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

Generated on Wed May 4 2022 12:15:57 for gem5 by doxygen 1.8.17