Class: Nl::Linux::DevEnergymodel::Messages::DumpGetPerfDomainsReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::DevEnergymodel::Messages::DumpGetPerfDomainsReply
- Defined in:
- nl-linux/generated/nl/linux/dev_energymodel.rb
Overview
Get the list of information for all performance domains.
Constant Summary collapse
- TYPE =
1- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::PerfDomain
- ATTRIBUTES =
Ractor.make_shareable(%i[pad perf_domain_id flags cpus])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#cpus ⇒ Array<Integer>
CPUs that belong to this performance domain.
-
#flags ⇒ Integer
Bitmask of performance domain flags.
-
#perf_domain_id ⇒ Integer
A unique ID number for each performance domain.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#cpus ⇒ Array<Integer>
CPUs that belong to this performance domain.
358 |
# File 'nl-linux/generated/nl/linux/dev_energymodel.rb', line 358 def cpus; attributes[:"cpus"].map(&:value); end |
#flags ⇒ Integer
Bitmask of performance domain flags.
Known flags are defined in Flags::PerfDomainFlags.
353 |
# File 'nl-linux/generated/nl/linux/dev_energymodel.rb', line 353 def flags; attributes[:"flags"]&.value; end |
#perf_domain_id ⇒ Integer
A unique ID number for each performance domain.
346 |
# File 'nl-linux/generated/nl/linux/dev_energymodel.rb', line 346 def perf_domain_id; attributes[:"perf_domain_id"]&.value; end |