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

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

Definition at line 307 of file units.hh.

◆ Ratio() [2/2]

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

Member Function Documentation

◆ get()

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

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
inlineoverridevirtual

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

◆ toString()

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

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