Class: OsCtl::Lib::CpuTopology::Package

Inherits:
Struct
  • Object
show all
Defined in:
lib/libosctl/cpu_topology.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cpusHash<Integer, Cpu> (readonly)

Returns:

  • (Hash<Integer, Cpu>)


7
# File 'lib/libosctl/cpu_topology.rb', line 7

Package = Struct.new(:id, :cpus, keyword_init: true)

#idInteger (readonly)

Returns Package ID.

Returns:

  • (Integer)

    Package ID



7
# File 'lib/libosctl/cpu_topology.rb', line 7

Package = Struct.new(:id, :cpus, keyword_init: true)