Class: Nl::Linux::DevEnergymodel
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::DevEnergymodel
- Defined in:
- nl-linux/generated/nl/linux/dev_energymodel.rb
Overview
Energy model netlink interface to notify its changes.
Defined Under Namespace
Modules: AttributeSets, Flags, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"dev-energymodel"- VERSION =
1
Class Method Summary collapse
Instance Method Summary collapse
-
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
-
#do_get_perf_domains(**args) ⇒ Messages::DoGetPerfDomainsReply
Get the list of information for all performance domains.
-
#do_get_perf_table(**args) ⇒ Messages::DoGetPerfTableReply
Get the energy model table of a performance domain.
-
#dump_get_perf_domains(**args, &block) ⇒ Object
Get the list of information for all performance domains.
- #subscribe(*groups) ⇒ self
- #unsubscribe(*groups) ⇒ self
Methods inherited from Genl::Family
Class Method Details
.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ DevEnergymodel .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object
31 32 33 |
# File 'nl-linux/generated/nl/linux/dev_energymodel.rb', line 31 def self.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) super end |
Instance Method Details
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
513 514 515 516 |
# File 'nl-linux/generated/nl/linux/dev_energymodel.rb', line 513 def async(stream_capacity: nil) return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil? build_async_facade(AsyncOperations, stream_capacity:) end |
#do_get_perf_domains(**args) ⇒ Messages::DoGetPerfDomainsReply
Get the list of information for all performance domains.
449 450 451 |
# File 'nl-linux/generated/nl/linux/dev_energymodel.rb', line 449 def do_get_perf_domains(**args) (:"do", Messages::DoGetPerfDomainsRequest, Messages::DoGetPerfDomainsReply, args) end |
#do_get_perf_table(**args) ⇒ Messages::DoGetPerfTableReply
Get the energy model table of a performance domain.
474 475 476 |
# File 'nl-linux/generated/nl/linux/dev_energymodel.rb', line 474 def do_get_perf_table(**args) (:"do", Messages::DoGetPerfTableRequest, Messages::DoGetPerfTableReply, args) end |
#dump_get_perf_domains(**args) ⇒ Array<Messages::DumpGetPerfDomainsReply> #dump_get_perf_domains(**args) {|reply| ... } ⇒ void
Get the list of information for all performance domains.
465 466 467 |
# File 'nl-linux/generated/nl/linux/dev_energymodel.rb', line 465 def dump_get_perf_domains(**args, &block) (:"dump", Messages::DumpGetPerfDomainsRequest, Messages::DumpGetPerfDomainsReply, args, &block) end |
#subscribe(*groups) ⇒ self
520 521 522 523 |
# File 'nl-linux/generated/nl/linux/dev_energymodel.rb', line 520 def subscribe(*groups) = super # @rbs (*(:event) groups) -> self # @param [Array<:event>] groups # @return [self] |
#unsubscribe(*groups) ⇒ self
524 |
# File 'nl-linux/generated/nl/linux/dev_energymodel.rb', line 524 def unsubscribe(*groups) = super |