Class: Nl::Linux::Ethtool::AttributeSets::MseSnapshot
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Ethtool::AttributeSets::MseSnapshot
- Defined in:
- nl-linux/generated/nl/linux/ethtool.rb
Overview
MSE snapshot attribute set
Defined Under Namespace
Classes: Attribute, AverageMse, PeakMse, WorstPeakMse
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
5520 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5520 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
5526 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5526 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#average_mse ⇒ Integer
5505 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5505 def average_mse; self[:"average_mse"]&.value; end |
#peak_mse ⇒ Integer
5509 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5509 def peak_mse; self[:"peak_mse"]&.value; end |
#worst_peak_mse ⇒ Integer
5513 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5513 def worst_peak_mse; self[:"worst_peak_mse"]&.value; end |