gem5  v21.2.0.0
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
gem5::statistics::units::Rate< T1, T2 > Class Template Reference

#include <units.hh>

Inheritance diagram for gem5::statistics::units::Rate< T1, T2 >:
gem5::statistics::units::Base

Public Member Functions

 Rate (Rate< T1, T2 > const &)=delete
 
void operator= (Rate< T1, T2 > const &)=delete
 
std::string getUnitString () const override
 

Static Public Member Functions

static Rate< T1, T2 > * get ()
 
static std::string toString ()
 

Private Member Functions

 Rate ()
 

Detailed Description

template<typename T1, typename T2>
class gem5::statistics::units::Rate< T1, T2 >

Definition at line 343 of file units.hh.

Constructor & Destructor Documentation

◆ Rate() [1/2]

template<typename T1 , typename T2 >
gem5::statistics::units::Rate< T1, T2 >::Rate ( )
inlineprivate

Definition at line 355 of file units.hh.

◆ Rate() [2/2]

template<typename T1 , typename T2 >
gem5::statistics::units::Rate< T1, T2 >::Rate ( Rate< T1, T2 > const &  )
delete

Member Function Documentation

◆ get()

template<typename T1 , typename T2 >
static Rate<T1,T2>* gem5::statistics::units::Rate< T1, T2 >::get ( )
inlinestatic

Definition at line 360 of file units.hh.

Referenced by TEST().

◆ getUnitString()

template<typename T1 , typename T2 >
std::string gem5::statistics::units::Rate< T1, T2 >::getUnitString ( ) const
inlineoverridevirtual

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

Definition at line 371 of file units.hh.

References gem5::statistics::units::Rate< T1, T2 >::toString().

Referenced by TEST().

◆ operator=()

template<typename T1 , typename T2 >
void gem5::statistics::units::Rate< T1, T2 >::operator= ( Rate< T1, T2 > const &  )
delete

◆ toString()

template<typename T1 , typename T2 >
static std::string gem5::statistics::units::Rate< T1, T2 >::toString ( )
inlinestatic

Definition at line 366 of file units.hh.

References gem5::csprintf().

Referenced by gem5::statistics::units::Rate< T1, T2 >::getUnitString().


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

Generated on Tue Dec 21 2021 11:36:27 for gem5 by doxygen 1.8.17