gem5  v22.1.0.0
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
gem5::statistics::units::Watt Class Reference

#include <units.hh>

Inheritance diagram for gem5::statistics::units::Watt:

Public Member Functions

 Watt (Watt const &)=delete
void operator= (Watt const &)=delete
std::string getUnitString () const override

Static Public Member Functions

static Wattget ()
static std::string toString ()

Private Member Functions

 Watt ()

Detailed Description

Definition at line 213 of file units.hh.

Constructor & Destructor Documentation

◆ Watt() [1/2]

gem5::statistics::units::Watt::Watt ( )

Definition at line 216 of file units.hh.

◆ Watt() [2/2]

gem5::statistics::units::Watt::Watt ( Watt const &  )

Member Function Documentation

◆ get()

static Watt* gem5::statistics::units::Watt::get ( )

Definition at line 221 of file units.hh.

Referenced by TEST().

◆ getUnitString()

std::string gem5::statistics::units::Watt::getUnitString ( ) const

Implements gem5::statistics::units::Base.

Definition at line 227 of file units.hh.

References toString().

Referenced by TEST().

◆ operator=()

void gem5::statistics::units::Watt::operator= ( Watt const &  )

◆ toString()

static std::string gem5::statistics::units::Watt::toString ( )

Definition at line 226 of file units.hh.

Referenced by getUnitString(), and TEST().

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

Generated on Wed Dec 21 2022 10:24:28 for gem5 by doxygen 1.9.1