Expand description
§hwlocality-sys: The low-level bindings below hwlocality
This crate contains the low-level unsafe Rust -> C FFI bindings to hwloc, that are used to implement the safe hwlocality bindings.
Depending on your needs, you can either link to a libhwloc
that is
pre-installed on your computer or have hwlocality
build its own copy
libhwloc
internally. Please read the “Prerequisites” section of the
hwlocality README for
more information about these two options.
Like any C API, the hwlocality-sys
low-level bindings are highly unsafe to
use, and it is advised that you use the safe hwlocality
bindings instead
whenever possible. If you encounter any issue with the safe bindings that
prevents you from using them and forces you to use the unsafe C API directly,
please report them in the issue tracker so we get them fixed.
Structs§
- RawDownstreamPCI
Attributes - Downstream PCI device attributes
- hwloc_
bitmap_ s - Opaque bitmap struct
- hwloc_
bridge_ attr_ s HWLOC_OBJ_BRIDGE
-specific attributes- hwloc_
cache_ attr_ s - Cache-specific attributes
- hwloc_
distances_ s - Matrix of distances between a set of objects
- hwloc_
group_ attr_ s HWLOC_OBJ_GROUP
-specific attributes- hwloc_
info_ s - Key-value string attributes
- hwloc_
location hwloc-2_3_0
- Where to measure attributes from
- hwloc_
memory_ page_ type_ s - Local memory page type
- hwloc_
numanode_ attr_ s HWLOC_OBJ_NUMANODE
-specific attributes- hwloc_
obj - Hardware topology object
- hwloc_
osdev_ attr_ s HWLOC_OBJ_OS_DEVICE
-specific attributes- hwloc_
pcidev_ attr_ s HWLOC_OBJ_PCI_DEVICE
-specific attributes- hwloc_
topology - Opaque topology struct
- hwloc_
topology_ cpubind_ support - Support for getting and setting thread/process CPU bindings
- hwloc_
topology_ discovery_ support - Support for discovering information about the topology
- hwloc_
topology_ membind_ support - Support for getting and setting thread/process NUMA node bindings
- hwloc_
topology_ misc_ support hwloc-2_3_0
- Miscellaneous support information
- hwloc_
topology_ support - Set of flags describing actual hwloc feature support for this topology
Constants§
- HWLOC_
ALLOW_ FLAG_ ALL hwloc-2_3_0
- Mark all objects as allowed in the topology
- HWLOC_
ALLOW_ FLAG_ CUSTOM hwloc-2_3_0
- Allow a custom set of objects, given to
hwloc_topology_allow()
ascpuset
and/ornodeset
parameters. - HWLOC_
ALLOW_ FLAG_ LOCAL_ RESTRICTIONS hwloc-2_3_0
- Only allow objects that are available to the current process
- HWLOC_
CPUBIND_ NOMEMBIND - Avoid any effect on memory binding
- HWLOC_
CPUBIND_ PROCESS - Bind all threads of the current process
- HWLOC_
CPUBIND_ STRICT - Request for strict binding from the OS
- HWLOC_
CPUBIND_ THREAD - Bind the current thread of the current process
- HWLOC_
DISTANCES_ ADD_ FLAG_ GROUP hwloc-2_5_0
- Try to group objects based on the newly provided distance information
- HWLOC_
DISTANCES_ ADD_ FLAG_ GROUP_ INACCURATE hwloc-2_5_0
- Treat distances as inaccurate for grouping purposes
- HWLOC_
DISTANCES_ KIND_ FROM_ OS - These distances were obtained from the operating system or hardware
- HWLOC_
DISTANCES_ KIND_ FROM_ USER - These distances were provided by the user
- HWLOC_
DISTANCES_ KIND_ HETEROGENEOUS_ TYPES hwloc-2_1_0
- This distances structure covers objects of different types
- HWLOC_
DISTANCES_ KIND_ MEANS_ BANDWIDTH - Distance values are similar to bandwidths between objects
- HWLOC_
DISTANCES_ KIND_ MEANS_ LATENCY - Distance values are similar to latencies between objects
- HWLOC_
DISTANCES_ TRANSFORM_ LINKS hwloc-2_5_0
- Replace bandwidth values with a number of links
- HWLOC_
DISTANCES_ TRANSFORM_ MERGE_ SWITCH_ PORTS hwloc-2_5_0
- Merge switches with multiple ports into a single object
- HWLOC_
DISTANCES_ TRANSFORM_ REMOVE_ NULL hwloc-2_5_0
- Remove NULL objects from the distances structure.
- HWLOC_
DISTANCES_ TRANSFORM_ TRANSITIVE_ CLOSURE hwloc-2_5_0
- Apply a transitive closure to the matrix to connect objects across switches.
- HWLOC_
DISTRIB_ FLAG_ REVERSE - Distrib in reverse order, starting from the last objects
- HWLOC_
LOCAL_ NUMANODE_ FLAG_ ALL hwloc-2_3_0
- Select all NUMA nodes in the topology
- HWLOC_
LOCAL_ NUMANODE_ FLAG_ INTERSECT_ LOCALITY hwloc-2_3_0
andhwloc-2_12_1
- Select NUMA nodes whose locality intersects the given cpuset
- HWLOC_
LOCAL_ NUMANODE_ FLAG_ LARGER_ LOCALITY hwloc-2_3_0
- Select NUMA nodes whose locality is larger than the given cpuset
- HWLOC_
LOCAL_ NUMANODE_ FLAG_ SMALLER_ LOCALITY hwloc-2_3_0
- Select NUMA nodes whose locality is smaller than the given cpuset
- HWLOC_
LOCATION_ TYPE_ CPUSET hwloc-2_3_0
- Location is given as a cpuset, in the
hwloc_location_u::cpuset
union field - HWLOC_
LOCATION_ TYPE_ OBJECT hwloc-2_3_0
- Location is given as an object, in the
hwloc_location_u::object
union field - HWLOC_
MEMATTR_ FLAG_ HIGHER_ FIRST hwloc-2_3_0
- The best nodes for this memory attribute are those with the higher values
- HWLOC_
MEMATTR_ FLAG_ LOWER_ FIRST hwloc-2_3_0
- The best nodes for this memory attribute are those with the lower values
- HWLOC_
MEMATTR_ FLAG_ NEED_ INITIATOR hwloc-2_3_0
- The value returned for this memory attribute depends on the given initiator
- HWLOC_
MEMATTR_ ID_ BANDWIDTH hwloc-2_3_0
- Average bandwidth in MiB/s, as seen from the given initiator location
- HWLOC_
MEMATTR_ ID_ CAPACITY hwloc-2_3_0
- Node capacity in bytes (see
hwloc_obj::total_memory
) - HWLOC_
MEMATTR_ ID_ LATENCY hwloc-2_3_0
- Latency in nanoseconds, as seen from the given initiator location
- HWLOC_
MEMATTR_ ID_ LOCALITY hwloc-2_3_0
- Number of PUs in that locality (i.e. cpuset weight)
- HWLOC_
MEMATTR_ ID_ READ_ BANDWIDTH hwloc-2_8_0
- Read bandwidth in MiB/s, as seen from the given initiator location
- HWLOC_
MEMATTR_ ID_ READ_ LATENCY hwloc-2_8_0
- Read latency in nanoseconds, as seen from the given initiator location
- HWLOC_
MEMATTR_ ID_ WRITE_ BANDWIDTH hwloc-2_8_0
- Write bandwidth in MiB/s, as seen from the given initiator location
- HWLOC_
MEMATTR_ ID_ WRITE_ LATENCY hwloc-2_8_0
- Write latency in nanoseconds, as seen from the given initiator location
- HWLOC_
MEMBIND_ BIND - Allocate memory on the specified nodes (most portable option)
- HWLOC_
MEMBIND_ BYNODESET - Consider the bitmap argument as a nodeset.
- HWLOC_
MEMBIND_ DEFAULT - Reset the memory allocation policy of the current process or thread to the system default
- HWLOC_
MEMBIND_ FIRSTTOUCH - Allocate each memory page individually on the local NUMA node of the thread that touches it
- HWLOC_
MEMBIND_ INTERLEAVE - Allocate memory on the given nodes in an interleaved round-robin manner
- HWLOC_
MEMBIND_ MIGRATE - Migrate existing allocated memory
- HWLOC_
MEMBIND_ MIXED - Mixture of memory binding policies
- HWLOC_
MEMBIND_ NEXTTOUCH - Migrate pages on next touch
- HWLOC_
MEMBIND_ NOCPUBIND - Avoid any effect on CPU binding
- HWLOC_
MEMBIND_ PROCESS - Apply command to all threads of the specified process
- HWLOC_
MEMBIND_ STRICT - Request strict binding from the OS
- HWLOC_
MEMBIND_ THREAD - Apply command to the current thread of the current process
- HWLOC_
MEMBIND_ WEIGHTED_ INTERLEAVE hwloc-2_11_0
- Allocate memory on the given nodes in an interleaved / weighted manner.
- HWLOC_
OBJ_ BRIDGE - Bridge (filtered out by default)
- HWLOC_
OBJ_ BRIDGE_ HOST - Host-side of a bridge, only possible upstream
- HWLOC_
OBJ_ BRIDGE_ PCI - PCI-side of a bridge
- HWLOC_
OBJ_ CACHE_ DATA - Data cache
- HWLOC_
OBJ_ CACHE_ INSTRUCTION - Instruction cache (filtered out by default)
- HWLOC_
OBJ_ CACHE_ UNIFIED - Unified cache
- HWLOC_
OBJ_ CORE - A computation unit (may be shared by several PUs aka logical processors)
- HWLOC_
OBJ_ DIE hwloc-2_1_0
- Die within a physical package
- HWLOC_
OBJ_ GROUP - Group object
- HWLOC_
OBJ_ L1CACHE - Level 1 Data (or Unified) Cache
- HWLOC_
OBJ_ L1ICACHE - Level 1 Instruction cache (filtered out by default)
- HWLOC_
OBJ_ L2CACHE - Level 2 Data (or Unified) Cache
- HWLOC_
OBJ_ L2ICACHE - Level 2 Instruction cache (filtered out by default)
- HWLOC_
OBJ_ L3CACHE - Level 3 Data (or Unified) Cache
- HWLOC_
OBJ_ L3ICACHE - Level 3 Instruction cache (filtered out by default)
- HWLOC_
OBJ_ L4CACHE - Level 4 Data (or Unified) Cache
- HWLOC_
OBJ_ L5CACHE - Level 5 Data (or Unified) Cache
- HWLOC_
OBJ_ MACHINE - The root object, a set of processors and memory with cache coherency
- HWLOC_
OBJ_ MEMCACHE hwloc-2_1_0
- Memory-side cache (filtered out by default)
- HWLOC_
OBJ_ MISC - Miscellaneous object (filtered out by default)
- HWLOC_
OBJ_ NUMANODE - NUMA node
- HWLOC_
OBJ_ OSDEV_ COPROC - Operating system co-processor device
- HWLOC_
OBJ_ OSDEV_ DMA - Operating system dma engine device
- HWLOC_
OBJ_ OSDEV_ GPU - Operating system GPU device
- HWLOC_
OBJ_ OSDEV_ MEMORY hwloc-3_0_0
- Operating system memory device
- HWLOC_
OBJ_ OSDEV_ NETWORK - Operating system network device
- HWLOC_
OBJ_ OSDEV_ OPENFABRICS - Operating system openfabrics device
- HWLOC_
OBJ_ OSDEV_ STORAGE - Operating system storage device (e.g. block)
- HWLOC_
OBJ_ OS_ DEVICE - Operating system device (filtered out by default)
- HWLOC_
OBJ_ PACKAGE - Physical package, what goes into a physical motherboard socket
- HWLOC_
OBJ_ PCI_ DEVICE - PCI device (filtered out by default)
- HWLOC_
OBJ_ PU - Processing Unit, or (Logical) Processor
- HWLOC_
RESTRICT_ FLAG_ ADAPT_ IO hwloc-2_3_0
- Move I/O objects to ancestors if their parents are removed during restriction
- HWLOC_
RESTRICT_ FLAG_ ADAPT_ MISC hwloc-2_3_0
- Move Misc objects to ancestors if their parents are removed during restriction
- HWLOC_
RESTRICT_ FLAG_ BYNODESET hwloc-2_3_0
- Restrict by NUMA node set insted of by CPU set
- HWLOC_
RESTRICT_ FLAG_ REMOVE_ CPULESS hwloc-2_3_0
- Remove all objects that became CPU-less
- HWLOC_
RESTRICT_ FLAG_ REMOVE_ MEMLESS hwloc-2_3_0
- Remove all objects that became memory-less
- HWLOC_
TOPOLOGY_ COMPONENTS_ FLAG_ BLACKLIST hwloc-2_1_0
- Blacklist the target component from being used
- HWLOC_
TOPOLOGY_ EXPORT_ SYNTHETIC_ FLAG_ IGNORE_ MEMORY - Do not export memory information
- HWLOC_
TOPOLOGY_ EXPORT_ SYNTHETIC_ FLAG_ NO_ ATTRS - Do not export level attributes
- HWLOC_
TOPOLOGY_ EXPORT_ SYNTHETIC_ FLAG_ NO_ EXTENDED_ TYPES - Export extended types such as L2dcache as basic types such as Cache
- HWLOC_
TOPOLOGY_ EXPORT_ SYNTHETIC_ FLAG_ V1 - Export the memory hierarchy as expected in hwloc 1.x
- HWLOC_
TOPOLOGY_ EXPORT_ XML_ FLAG_ V1 - Export XML that is loadable by hwloc v1.x
- HWLOC_
TOPOLOGY_ FLAG_ DONT_ CHANGE_ BINDING hwloc-2_5_0
- Do not ever modify the process or thread binding during discovery
- HWLOC_
TOPOLOGY_ FLAG_ IMPORT_ SUPPORT hwloc-2_3_0
- Import support from the imported topology
- HWLOC_
TOPOLOGY_ FLAG_ INCLUDE_ DISALLOWED - Detect the whole system, ignore reservations, include disallowed objects
- HWLOC_
TOPOLOGY_ FLAG_ IS_ THISSYSTEM - Assume that the selected backend provides the topology for the system on which we are running
- HWLOC_
TOPOLOGY_ FLAG_ NO_ CPUKINDS hwloc-2_8_0
- Ignore CPU kind information from the operating system (and from XML)
- HWLOC_
TOPOLOGY_ FLAG_ NO_ DISTANCES hwloc-2_8_0
- Ignore distance information from the operating system (and from XML)
- HWLOC_
TOPOLOGY_ FLAG_ NO_ MEMATTRS hwloc-2_8_0
- Ignore memory attribues from the operating system (and from XML)
- HWLOC_
TOPOLOGY_ FLAG_ RESTRICT_ TO_ CPUBINDING hwloc-2_5_0
- Do not consider resources outside of the process CPU binding
- HWLOC_
TOPOLOGY_ FLAG_ RESTRICT_ TO_ MEMBINDING hwloc-2_5_0
- Do not consider resources outside of the process memory binding
- HWLOC_
TOPOLOGY_ FLAG_ THISSYSTEM_ ALLOWED_ RESOURCES - Get the set of allowed resources from the local operating system even if the topology was loaded from XML or synthetic description
- HWLOC_
TYPE_ DEPTH_ BRIDGE - Virtual depth for
HWLOC_OBJ_BRIDGE
- HWLOC_
TYPE_ DEPTH_ MEMCACHE hwloc-2_1_0
- Virtual depth for
HWLOC_OBJ_MEMCACHE
- HWLOC_
TYPE_ DEPTH_ MISC - Virtual depth for
HWLOC_OBJ_MISC
- HWLOC_
TYPE_ DEPTH_ MULTIPLE - Objects of given type exist at different depth in the topology (only for Groups)
- HWLOC_
TYPE_ DEPTH_ NUMANODE - Virtual depth for
HWLOC_OBJ_NUMANODE
- HWLOC_
TYPE_ DEPTH_ OS_ DEVICE - Virtual depth for
HWLOC_OBJ_OS_DEVICE
- HWLOC_
TYPE_ DEPTH_ PCI_ DEVICE - Virtual depth for
HWLOC_OBJ_PCI_DEVICE
- HWLOC_
TYPE_ DEPTH_ UNKNOWN - No object of given type exists in the topology
- HWLOC_
TYPE_ FILTER_ KEEP_ ALL - Keep all objects of this type
- HWLOC_
TYPE_ FILTER_ KEEP_ IMPORTANT - Only keep likely-important objects of the given type.
- HWLOC_
TYPE_ FILTER_ KEEP_ NONE - Ignore all objects of this type
- HWLOC_
TYPE_ FILTER_ KEEP_ STRUCTURE - Only ignore objects if their entire level does not bring any structure
- HWLOC_
TYPE_ UNORDERED - Value returned by
hwloc_compare_types()
when types can not be compared - HWLOC_
UNKNOWN_ INDEX - Value of
hwloc_obj::os_index
when unknown or irrelevant for this object
Functions§
- hwloc_
alloc ⚠ - hwloc_
alloc_ ⚠membind - hwloc_
bitmap_ ⚠allbut - hwloc_
bitmap_ ⚠alloc - hwloc_
bitmap_ ⚠alloc_ full - hwloc_
bitmap_ ⚠and - hwloc_
bitmap_ ⚠andnot - hwloc_
bitmap_ ⚠clr - hwloc_
bitmap_ ⚠clr_ range - hwloc_
bitmap_ ⚠compare - hwloc_
bitmap_ ⚠copy - hwloc_
bitmap_ ⚠dup - hwloc_
bitmap_ ⚠fill - hwloc_
bitmap_ ⚠first - hwloc_
bitmap_ ⚠first_ unset - hwloc_
bitmap_ ⚠free - hwloc_
bitmap_ ⚠intersects - hwloc_
bitmap_ ⚠isequal - hwloc_
bitmap_ ⚠isfull - hwloc_
bitmap_ ⚠isincluded - hwloc_
bitmap_ ⚠isset - hwloc_
bitmap_ ⚠iszero - hwloc_
bitmap_ ⚠last - hwloc_
bitmap_ ⚠last_ unset - hwloc_
bitmap_ ⚠list_ snprintf - hwloc_
bitmap_ ⚠next - hwloc_
bitmap_ ⚠next_ unset - hwloc_
bitmap_ ⚠not - hwloc_
bitmap_ ⚠only - hwloc_
bitmap_ ⚠or - hwloc_
bitmap_ ⚠set - hwloc_
bitmap_ ⚠set_ range - hwloc_
bitmap_ ⚠singlify - hwloc_
bitmap_ ⚠singlify_ per_ core hwloc-2_2_0
- hwloc_
bitmap_ ⚠weight - hwloc_
bitmap_ ⚠xor - hwloc_
bitmap_ ⚠zero - hwloc_
compare_ ⚠types - Compare the depth of two object types.
- hwloc_
cpukinds_ ⚠get_ by_ cpuset hwloc-2_4_0
- hwloc_
cpukinds_ ⚠get_ info hwloc-2_4_0
- hwloc_
cpukinds_ ⚠get_ nr hwloc-2_4_0
- hwloc_
cpukinds_ ⚠register hwloc-2_4_0
- hwloc_
distances_ ⚠add_ commit hwloc-2_5_0
- hwloc_
distances_ ⚠add_ create hwloc-2_5_0
- hwloc_
distances_ ⚠add_ values hwloc-2_5_0
- hwloc_
distances_ ⚠get - hwloc_
distances_ ⚠get_ by_ depth - hwloc_
distances_ ⚠get_ by_ name hwloc-2_1_0
- hwloc_
distances_ ⚠get_ by_ type - hwloc_
distances_ ⚠get_ name hwloc-2_1_0
- hwloc_
distances_ ⚠release - hwloc_
distances_ ⚠release_ remove hwloc-2_3_0
- hwloc_
distances_ ⚠remove hwloc-2_3_0
- hwloc_
distances_ ⚠remove_ by_ depth hwloc-2_3_0
- hwloc_
distances_ ⚠transform hwloc-2_5_0
- hwloc_
free ⚠ - hwloc_
free_ ⚠xmlbuffer - hwloc_
get_ ⚠api_ version - Indicate at runtime which hwloc API version was used at build time
- hwloc_
get_ ⚠area_ membind - hwloc_
get_ ⚠area_ memlocation - hwloc_
get_ ⚠cpubind - hwloc_
get_ ⚠depth_ type - hwloc_
get_ ⚠last_ cpu_ location - hwloc_
get_ ⚠local_ numanode_ objs hwloc-2_3_0
- hwloc_
get_ ⚠membind - hwloc_
get_ ⚠memory_ parents_ depth - hwloc_
get_ ⚠nbobjs_ by_ depth - hwloc_
get_ ⚠obj_ by_ depth - hwloc_
get_ ⚠obj_ with_ same_ locality hwloc-2_5_0
- hwloc_
get_ ⚠proc_ cpubind - hwloc_
get_ ⚠proc_ last_ cpu_ location - hwloc_
get_ ⚠proc_ membind - hwloc_
get_ ⚠thread_ cpubind - hwloc_
get_ ⚠type_ depth - hwloc_
linux_ ⚠get_ tid_ cpubind Linux - hwloc_
linux_ ⚠get_ tid_ last_ cpu_ location Linux - hwloc_
linux_ ⚠read_ path_ as_ cpumask Linux - hwloc_
linux_ ⚠set_ tid_ cpubind Linux - hwloc_
memattr_ ⚠get_ best_ initiator hwloc-2_3_0
- hwloc_
memattr_ ⚠get_ best_ target hwloc-2_3_0
- hwloc_
memattr_ ⚠get_ by_ name hwloc-2_3_0
- hwloc_
memattr_ ⚠get_ flags hwloc-2_3_0
- hwloc_
memattr_ ⚠get_ initiators hwloc-2_3_0
- hwloc_
memattr_ ⚠get_ name hwloc-2_3_0
- hwloc_
memattr_ ⚠get_ targets hwloc-2_3_0
- hwloc_
memattr_ ⚠get_ value hwloc-2_3_0
- hwloc_
memattr_ ⚠register hwloc-2_3_0
- hwloc_
memattr_ ⚠set_ value hwloc-2_3_0
- hwloc_
obj_ ⚠add_ info - hwloc_
obj_ ⚠add_ other_ obj_ sets hwloc-2_3_0
- hwloc_
obj_ ⚠attr_ snprintf - hwloc_
obj_ ⚠set_ subtype hwloc-2_11_0
- Set (or replace) the subtype of an object.
- hwloc_
obj_ ⚠type_ is_ cache - hwloc_
obj_ ⚠type_ is_ dcache - hwloc_
obj_ ⚠type_ is_ icache - hwloc_
obj_ ⚠type_ is_ io - hwloc_
obj_ ⚠type_ is_ memory - hwloc_
obj_ ⚠type_ is_ normal - hwloc_
obj_ ⚠type_ snprintf - hwloc_
set_ ⚠area_ membind - hwloc_
set_ ⚠cpubind - hwloc_
set_ ⚠membind - hwloc_
set_ ⚠proc_ cpubind - hwloc_
set_ ⚠proc_ membind - hwloc_
set_ ⚠thread_ cpubind - hwloc_
topology_ ⚠abi_ check - Check that this topology is compatible with the current hwloc library
- hwloc_
topology_ ⚠alloc_ group_ object hwloc-2_3_0
- hwloc_
topology_ ⚠allow hwloc-2_3_0
- hwloc_
topology_ ⚠check - Run internal checks on a topology structure
- hwloc_
topology_ ⚠destroy - Terminate and free a topology context
- hwloc_
topology_ ⚠dup - Duplicate a topology
- hwloc_
topology_ ⚠export_ synthetic - hwloc_
topology_ ⚠export_ xml - hwloc_
topology_ ⚠export_ xmlbuffer - hwloc_
topology_ ⚠free_ group_ object hwloc-2_10_0
- hwloc_
topology_ ⚠get_ allowed_ cpuset - hwloc_
topology_ ⚠get_ allowed_ nodeset - hwloc_
topology_ ⚠get_ complete_ cpuset - hwloc_
topology_ ⚠get_ complete_ nodeset - hwloc_
topology_ ⚠get_ default_ nodeset hwloc-2_12_0
- Return the set of default NUMA nodes
- hwloc_
topology_ ⚠get_ depth - hwloc_
topology_ ⚠get_ flags - hwloc_
topology_ ⚠get_ support - hwloc_
topology_ ⚠get_ topology_ cpuset - hwloc_
topology_ ⚠get_ topology_ nodeset - hwloc_
topology_ ⚠get_ type_ filter - hwloc_
topology_ ⚠init - Allocate a topology context
- hwloc_
topology_ ⚠insert_ group_ object hwloc-2_3_0
- hwloc_
topology_ ⚠insert_ misc_ object hwloc-2_3_0
- hwloc_
topology_ ⚠is_ thissystem - hwloc_
topology_ ⚠load - Build the actual topology
- hwloc_
topology_ ⚠refresh hwloc-2_3_0
- hwloc_
topology_ ⚠restrict hwloc-2_3_0
- hwloc_
topology_ ⚠set_ all_ types_ filter - hwloc_
topology_ ⚠set_ cache_ types_ filter - hwloc_
topology_ ⚠set_ components hwloc-2_1_0
- hwloc_
topology_ ⚠set_ flags - hwloc_
topology_ ⚠set_ icache_ types_ filter - hwloc_
topology_ ⚠set_ io_ types_ filter - hwloc_
topology_ ⚠set_ pid - hwloc_
topology_ ⚠set_ synthetic - hwloc_
topology_ ⚠set_ type_ filter - hwloc_
topology_ ⚠set_ xml - hwloc_
topology_ ⚠set_ xmlbuffer - hwloc_
windows_ ⚠get_ nr_ processor_ groups hwloc-2_5_0
and Windows - hwloc_
windows_ ⚠get_ processor_ group_ cpuset hwloc-2_5_0
and Windows
Type Aliases§
- PCIDomain
- PCI domain width (depends on hwloc version)
- hwloc_
allow_ flags_ e hwloc-2_3_0
- Flags to be given to
hwloc_topology_allow()
- hwloc_
bitmap_ t - Set of bits represented as an opaque pointer to an internal bitmap
- hwloc_
const_ bitmap_ t - A non-modifiable
hwloc_bitmap_t
- hwloc_
const_ cpuset_ t - A non-modifiable
hwloc_cpuset_t
- hwloc_
const_ nodeset_ t - A non-modifiable
hwloc_nodeset_t
- hwloc_
const_ topology_ t - A non-modifiable
hwloc_topology_t
- hwloc_
cpubind_ flags_ t - Process/Thread binding flags
- hwloc_
cpuset_ t - A CPU set is a bitmap whose bits are set according to CPU physical OS indexes
- hwloc_
distances_ add_ flag_ e hwloc-2_5_0
- Flags to be given to
hwloc_distances_add_commit()
- hwloc_
distances_ add_ handle_ t hwloc-2_5_0
- Handle to a new distances structure during its addition to the topology
- hwloc_
distances_ kind_ e - Kinds of distance matrices
- hwloc_
distances_ transform_ e hwloc-2_5_0
- Transformations of distances structures
- hwloc_
distrib_ flags_ e - Flags to be given to
hwloc_distrib()
- hwloc_
get_ type_ depth_ e - Depth of an object (or object type) in the topology
- hwloc_
local_ numanode_ flag_ e hwloc-2_3_0
- Flags for selecting more target NUMA nodes
- hwloc_
location_ type_ e hwloc-2_3_0
- Type of location
- hwloc_
memattr_ flag_ e hwloc-2_3_0
- Memory attribute flags
- hwloc_
memattr_ id_ t hwloc-2_3_0
- Memory attribute identifier
- hwloc_
membind_ flags_ t - Memory binding flags.
- hwloc_
membind_ policy_ t - Memory binding policy.
- hwloc_
nodeset_ t - A node set is a bitmap whose bits are set according to NUMA memory node physical OS indexes
- hwloc_
obj_ bridge_ type_ t - Type of one side (upstream or downstream) of an I/O bridge
- hwloc_
obj_ cache_ type_ t - Cache type
- hwloc_
obj_ osdev_ type_ t - Type of a OS device
- hwloc_
obj_ t - Convenience typedef, a pointer to a struct
hwloc_obj
- hwloc_
obj_ type_ t - Type of topology object
- hwloc_
pid_ t - Process identifier (OS-specific)
- hwloc_
restrict_ flags_ e hwloc-2_3_0
- Flags to be given to
hwloc_topology_restrict()
- hwloc_
thread_ t - Thread identifier (OS-specific)
- hwloc_
topology_ components_ flag_ e hwloc-2_1_0
- Flags to be passed to
hwloc_topology_set_components()
- hwloc_
topology_ export_ synthetic_ flags_ e - Flags to be given to
hwloc_topology_export_synthetic()
- hwloc_
topology_ export_ xml_ flags_ e - Flags to be given to
hwloc_topology_export_xml()
- hwloc_
topology_ flags_ e - Topology building configuration flags
- hwloc_
topology_ t - Topology context
- hwloc_
type_ filter_ e - Type filtering flags
Unions§
- RawDownstream
Attributes - Downstream device attributes
- RawUpstream
Attributes - Upstream device attributes
- hwloc_
location_ u hwloc-2_3_0
- Actual location
- hwloc_
obj_ attr_ u hwloc_obj_type_t
-specific attributes