gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
 Temp (NodePtr &&n)
 
 operator NodePtr & ()
 Return the node pointer.
 
NodePtr getNodePtr () const
 Makde gcc < 4.6.3 happy and explicitly get the underlying node.
 
 Temp (const Scalar &s)
 Create a new ScalarStatNode.
 
 Temp (const Value &s)
 Create a new ScalarStatNode.
 
 Temp (const Average &s)
 Create a new ScalarStatNode.
 
 Temp (const Vector &s)
 Create a new VectorStatNode.
 
 Temp (const AverageVector &s)
 
 Temp (const Formula &f)
 
template<class Stat >
 Temp (const ScalarProxy< Stat > &p)
 Create a new ScalarProxyNode.
 
 Temp (signed char value)
 Create a ConstNode.
 
 Temp (unsigned char value)
 Create a ConstNode.
 
 Temp (signed short value)
 Create a ConstNode.
 
 Temp (unsigned short value)
 Create a ConstNode.
 
 Temp (signed int value)
 Create a ConstNode.
 
 Temp (unsigned int value)
 Create a ConstNode.
 
 Temp (signed long value)
 Create a ConstNode.
 
 Temp (unsigned long value)
 Create a ConstNode.
 
 Temp (signed long long value)
 Create a ConstNode.
 
 Temp (unsigned long long value)
 Create a ConstNode.
 
 Temp (float value)
 Create a ConstNode.
 
 Temp (double value)
 Create a ConstNode.
 

Protected Attributes

NodePtr node
 Pointer to a Node object.
 

Detailed Description

Helper class to construct formula node trees.

Definition at line 2649 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 2662 of file statistics.hh.

◆ Temp() [2/21]

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

Definition at line 2664 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 2682 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 2690 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 2698 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 2706 of file statistics.hh.

◆ Temp() [7/21]

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

Definition at line 2710 of file statistics.hh.

◆ Temp() [8/21]

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

Definition at line 2717 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 2726 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 2734 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 2742 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 2750 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 2758 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 2766 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 2774 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 2782 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 2790 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 2798 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 2806 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 2814 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 2822 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 2675 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 2670 of file statistics.hh.

References node.

Member Data Documentation

◆ node

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

Pointer to a Node object.

Definition at line 2655 of file statistics.hh.

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


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

Generated on Tue Jun 18 2024 16:24:24 for gem5 by doxygen 1.11.0