gem5  v21.0.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Functions
temperature.hh File Reference
#include <ostream>

Go to the source code of this file.

Classes

class  Temperature
 The class stores temperatures in Kelvin and provides helper methods to convert to/from Celsius. More...
 

Functions

constexpr Temperature operator* (const Temperature &lhs, const double &rhs)
 
constexpr Temperature operator* (const double &lhs, const Temperature &rhs)
 
constexpr Temperature operator/ (const Temperature &lhs, const double &rhs)
 

Function Documentation

◆ operator*() [1/2]

constexpr Temperature operator* ( const double &  lhs,
const Temperature rhs 
)
constexpr

Definition at line 164 of file temperature.hh.

References Temperature::value.

◆ operator*() [2/2]

constexpr Temperature operator* ( const Temperature lhs,
const double &  rhs 
)
constexpr

Definition at line 158 of file temperature.hh.

References Temperature::value.

◆ operator/()

constexpr Temperature operator/ ( const Temperature lhs,
const double &  rhs 
)
constexpr

Definition at line 170 of file temperature.hh.

References Temperature::value.

Referenced by sc_dt::operator/().


Generated on Tue Jun 22 2021 15:28:33 for gem5 by doxygen 1.8.17