gem5  v22.0.0.1
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:
gem5::statistics::units::Base

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 ( )
inlineprivate

Definition at line 216 of file units.hh.

◆ Watt() [2/2]

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

Member Function Documentation

◆ get()

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

Definition at line 221 of file units.hh.

Referenced by TEST().

◆ getUnitString()

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

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 &  )
delete

◆ toString()

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

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 Sat Jun 18 2022 08:14:39 for gem5 by doxygen 1.8.17