gem5  v20.1.0.0
Public Member Functions | Protected Attributes | List of all members
Stats::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 3142 of file statistics.hh.

Constructor & Destructor Documentation

◆ Temp() [1/21]

Stats::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 3155 of file statistics.hh.

◆ Temp() [2/21]

Stats::Temp::Temp ( NodePtr &&  n)
inline

Definition at line 3157 of file statistics.hh.

◆ Temp() [3/21]

Stats::Temp::Temp ( const Scalar s)
inline

Create a new ScalarStatNode.

Parameters
sThe ScalarStat to place in a node.

Definition at line 3175 of file statistics.hh.

◆ Temp() [4/21]

Stats::Temp::Temp ( const Value s)
inline

Create a new ScalarStatNode.

Parameters
sThe ScalarStat to place in a node.

Definition at line 3183 of file statistics.hh.

◆ Temp() [5/21]

Stats::Temp::Temp ( const Average s)
inline

Create a new ScalarStatNode.

Parameters
sThe ScalarStat to place in a node.

Definition at line 3191 of file statistics.hh.

◆ Temp() [6/21]

Stats::Temp::Temp ( const Vector s)
inline

Create a new VectorStatNode.

Parameters
sThe VectorStat to place in a node.

Definition at line 3199 of file statistics.hh.

◆ Temp() [7/21]

Stats::Temp::Temp ( const AverageVector s)
inline

Definition at line 3203 of file statistics.hh.

◆ Temp() [8/21]

Stats::Temp::Temp ( const Formula f)
inline

Definition at line 3210 of file statistics.hh.

◆ Temp() [9/21]

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

Create a new ScalarProxyNode.

Parameters
pThe ScalarProxy to place in a node.

Definition at line 3219 of file statistics.hh.

◆ Temp() [10/21]

Stats::Temp::Temp ( signed char  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3227 of file statistics.hh.

◆ Temp() [11/21]

Stats::Temp::Temp ( unsigned char  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3235 of file statistics.hh.

◆ Temp() [12/21]

Stats::Temp::Temp ( signed short  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3243 of file statistics.hh.

◆ Temp() [13/21]

Stats::Temp::Temp ( unsigned short  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3251 of file statistics.hh.

◆ Temp() [14/21]

Stats::Temp::Temp ( signed int  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3259 of file statistics.hh.

◆ Temp() [15/21]

Stats::Temp::Temp ( unsigned int  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3267 of file statistics.hh.

◆ Temp() [16/21]

Stats::Temp::Temp ( signed long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3275 of file statistics.hh.

◆ Temp() [17/21]

Stats::Temp::Temp ( unsigned long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3283 of file statistics.hh.

◆ Temp() [18/21]

Stats::Temp::Temp ( signed long long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3291 of file statistics.hh.

◆ Temp() [19/21]

Stats::Temp::Temp ( unsigned long long  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3299 of file statistics.hh.

◆ Temp() [20/21]

Stats::Temp::Temp ( float  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3307 of file statistics.hh.

◆ Temp() [21/21]

Stats::Temp::Temp ( double  value)
inline

Create a ConstNode.

Parameters
valueThe value of the const node.

Definition at line 3315 of file statistics.hh.

Member Function Documentation

◆ getNodePtr()

NodePtr Stats::Temp::getNodePtr ( ) const
inline

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

Definition at line 3168 of file statistics.hh.

References node.

◆ operator NodePtr &()

Stats::Temp::operator NodePtr & ( )
inline

Return the node pointer.

Returns
the node pointer.

Definition at line 3163 of file statistics.hh.

References node.

Member Data Documentation

◆ node

NodePtr Stats::Temp::node
protected

Pointer to a Node object.

Definition at line 3148 of file statistics.hh.

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


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

Generated on Wed Sep 30 2020 14:03:12 for gem5 by doxygen 1.8.17