gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 302 of file units.hh.

Constructor & Destructor Documentation

◆ Ratio() [1/2]

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

Definition at line 305 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 310 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 316 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 315 of file units.hh.

Referenced by getUnitString(), and TEST().


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

Generated on Tue Jun 18 2024 16:24:24 for gem5 by doxygen 1.11.0