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

#include <units.hh>

Inheritance diagram for gem5::statistics::units::Ratio:

Public Member Functions

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

Static Public Member Functions

static Ratioget ()
static std::string toString ()

Private Member Functions

 Ratio ()

Detailed Description

Definition at line 304 of file units.hh.

Constructor & Destructor Documentation

◆ Ratio() [1/2]

gem5::statistics::units::Ratio::Ratio ( )

Definition at line 307 of file units.hh.

◆ Ratio() [2/2]

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

Member Function Documentation

◆ get()

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

Definition at line 312 of file units.hh.

Referenced by TEST(), and gem5::WalkCache::WalkCacheStats::WalkCacheStats().

◆ getUnitString()

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

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

Definition at line 318 of file units.hh.

References toString().

Referenced by TEST().

◆ operator=()

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

◆ toString()

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

Definition at line 317 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