Class: OsCtl::Lib::CpuTopology::Package
- Inherits:
-
Struct
- Object
- Struct
- OsCtl::Lib::CpuTopology::Package
- Defined in:
- lib/libosctl/cpu_topology.rb
Instance Attribute Summary collapse
- #cpus ⇒ Hash<Integer, Cpu> readonly
-
#id ⇒ Integer
readonly
Package ID.
Instance Attribute Details
#cpus ⇒ Hash<Integer, Cpu> (readonly)
7 |
# File 'lib/libosctl/cpu_topology.rb', line 7 Package = Struct.new(:id, :cpus, keyword_init: true) |
#id ⇒ Integer (readonly)
Returns Package ID.
7 |
# File 'lib/libosctl/cpu_topology.rb', line 7 Package = Struct.new(:id, :cpus, keyword_init: true) |