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