module Hwloc

Constants

API_VERSION
API_VERSION_1_10
API_VERSION_2_0
CpubindFlags
DistancesAddFlag
DistancesKind
GetTypeDepth
MembindFlags
MembindPolicy
ObjBrigeType
ObjCacheType
ObjOsdevType
ObjType
RestrictFlags
TopologyExportSyntheticFlags
TopologyExportXmlFlags
TopologyFlags
TypeFilter

Public Class Methods

compare_types(type1, type2) click to toggle source
# File lib/hwloc/Obj.rb, line 32
def self.compare_types(type1, type2)
  return Hwloc.hwloc_compare_types(type1, type2)
end
const_missing( sym ) click to toggle source
Calls superclass method
# File lib/hwloc/Topology.rb, line 3
def self.const_missing( sym )
  value = enum_value( sym )

  return super unless value

  value
end
error_string() click to toggle source
# File lib/hwloc/Hwloc.rb, line 22
def self.error_string
  return Hwloc.strerror(FFI::LastError::error)
end