Class hwloc_topology_membind_support
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<hwloc_topology_membind_support>
org.lwjgl.util.hwloc.hwloc_topology_membind_support
- All Implemented Interfaces:
Pointer
@NativeType("struct hwloc_topology_membind_support")
public class hwloc_topology_membind_support
extends Struct<hwloc_topology_membind_support>
struct hwloc_topology_membind_support {
unsigned char set_thisproc_membind;
unsigned char get_thisproc_membind;
unsigned char set_proc_membind;
unsigned char get_proc_membind;
unsigned char set_thisthread_membind;
unsigned char get_thisthread_membind;
unsigned char alloc_membind;
unsigned char set_area_membind;
unsigned char get_area_membind;
unsigned char get_area_memlocation;
unsigned char firsttouch_membind;
unsigned char bind_membind;
unsigned char interleave_membind;
unsigned char weighted_interleave_membind;
unsigned char nexttouch_membind;
unsigned char migrate_membind;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofhwloc_topology_membind_supportstructs.Nested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionhwloc_topology_membind_support(ByteBuffer container) Creates ahwloc_topology_membind_supportinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancreate(long address) Returns a newhwloc_topology_membind_supportinstance for the specified memory address.create(long address, int capacity) Create ahwloc_topology_membind_support.Bufferinstance at the specified memory.static @Nullable hwloc_topology_membind_supportcreateSafe(long address) static @Nullable hwloc_topology_membind_support.BuffercreateSafe(long address, int capacity) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanstatic booleannalloc_membind(long struct) Unsafe version ofalloc_membind().static booleannbind_membind(long struct) Unsafe version ofbind_membind().booleanstatic booleannfirsttouch_membind(long struct) Unsafe version offirsttouch_membind().static booleannget_area_membind(long struct) Unsafe version ofget_area_membind().static booleannget_area_memlocation(long struct) Unsafe version ofget_area_memlocation().static booleannget_proc_membind(long struct) Unsafe version ofget_proc_membind().static booleannget_thisproc_membind(long struct) Unsafe version ofget_thisproc_membind().static booleannget_thisthread_membind(long struct) Unsafe version ofget_thisthread_membind().static booleanninterleave_membind(long struct) Unsafe version ofinterleave_membind().static booleannmigrate_membind(long struct) Unsafe version ofmigrate_membind().static booleannnexttouch_membind(long struct) Unsafe version ofnexttouch_membind().static booleannset_area_membind(long struct) Unsafe version ofset_area_membind().static booleannset_proc_membind(long struct) Unsafe version ofset_proc_membind().static booleannset_thisproc_membind(long struct) Unsafe version ofset_thisproc_membind().static booleannset_thisthread_membind(long struct) Unsafe version ofset_thisthread_membind().static booleannweighted_interleave_membind(long struct) Unsafe version ofweighted_interleave_membind().booleanbooleanbooleanbooleanintsizeof()Returnssizeof(struct).booleanMethods inherited from class Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
SET_THISPROC_MEMBIND
public static final int SET_THISPROC_MEMBINDThe struct member offsets. -
GET_THISPROC_MEMBIND
public static final int GET_THISPROC_MEMBINDThe struct member offsets. -
SET_PROC_MEMBIND
public static final int SET_PROC_MEMBINDThe struct member offsets. -
GET_PROC_MEMBIND
public static final int GET_PROC_MEMBINDThe struct member offsets. -
SET_THISTHREAD_MEMBIND
public static final int SET_THISTHREAD_MEMBINDThe struct member offsets. -
GET_THISTHREAD_MEMBIND
public static final int GET_THISTHREAD_MEMBINDThe struct member offsets. -
ALLOC_MEMBIND
public static final int ALLOC_MEMBINDThe struct member offsets. -
SET_AREA_MEMBIND
public static final int SET_AREA_MEMBINDThe struct member offsets. -
GET_AREA_MEMBIND
public static final int GET_AREA_MEMBINDThe struct member offsets. -
GET_AREA_MEMLOCATION
public static final int GET_AREA_MEMLOCATIONThe struct member offsets. -
FIRSTTOUCH_MEMBIND
public static final int FIRSTTOUCH_MEMBINDThe struct member offsets. -
BIND_MEMBIND
public static final int BIND_MEMBINDThe struct member offsets. -
INTERLEAVE_MEMBIND
public static final int INTERLEAVE_MEMBINDThe struct member offsets. -
WEIGHTED_INTERLEAVE_MEMBIND
public static final int WEIGHTED_INTERLEAVE_MEMBINDThe struct member offsets. -
NEXTTOUCH_MEMBIND
public static final int NEXTTOUCH_MEMBINDThe struct member offsets. -
MIGRATE_MEMBIND
public static final int MIGRATE_MEMBINDThe struct member offsets.
-
-
Constructor Details
-
hwloc_topology_membind_support
Creates ahwloc_topology_membind_supportinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<hwloc_topology_membind_support>
-
set_thisproc_membind
- Returns:
- the value of the
set_thisproc_membindfield.
-
get_thisproc_membind
- Returns:
- the value of the
get_thisproc_membindfield.
-
set_proc_membind
- Returns:
- the value of the
set_proc_membindfield.
-
get_proc_membind
- Returns:
- the value of the
get_proc_membindfield.
-
set_thisthread_membind
- Returns:
- the value of the
set_thisthread_membindfield.
-
get_thisthread_membind
- Returns:
- the value of the
get_thisthread_membindfield.
-
alloc_membind
- Returns:
- the value of the
alloc_membindfield.
-
set_area_membind
- Returns:
- the value of the
set_area_membindfield.
-
get_area_membind
- Returns:
- the value of the
get_area_membindfield.
-
get_area_memlocation
- Returns:
- the value of the
get_area_memlocationfield.
-
firsttouch_membind
- Returns:
- the value of the
firsttouch_membindfield.
-
bind_membind
- Returns:
- the value of the
bind_membindfield.
-
interleave_membind
- Returns:
- the value of the
interleave_membindfield.
-
weighted_interleave_membind
- Returns:
- the value of the
weighted_interleave_membindfield.
-
nexttouch_membind
- Returns:
- the value of the
nexttouch_membindfield.
-
migrate_membind
- Returns:
- the value of the
migrate_membindfield.
-
create
Returns a newhwloc_topology_membind_supportinstance for the specified memory address. -
createSafe
-
create
Create ahwloc_topology_membind_support.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable hwloc_topology_membind_support.Buffer createSafe(long address, int capacity) -
nset_thisproc_membind
public static boolean nset_thisproc_membind(long struct) Unsafe version ofset_thisproc_membind(). -
nget_thisproc_membind
public static boolean nget_thisproc_membind(long struct) Unsafe version ofget_thisproc_membind(). -
nset_proc_membind
public static boolean nset_proc_membind(long struct) Unsafe version ofset_proc_membind(). -
nget_proc_membind
public static boolean nget_proc_membind(long struct) Unsafe version ofget_proc_membind(). -
nset_thisthread_membind
public static boolean nset_thisthread_membind(long struct) Unsafe version ofset_thisthread_membind(). -
nget_thisthread_membind
public static boolean nget_thisthread_membind(long struct) Unsafe version ofget_thisthread_membind(). -
nalloc_membind
public static boolean nalloc_membind(long struct) Unsafe version ofalloc_membind(). -
nset_area_membind
public static boolean nset_area_membind(long struct) Unsafe version ofset_area_membind(). -
nget_area_membind
public static boolean nget_area_membind(long struct) Unsafe version ofget_area_membind(). -
nget_area_memlocation
public static boolean nget_area_memlocation(long struct) Unsafe version ofget_area_memlocation(). -
nfirsttouch_membind
public static boolean nfirsttouch_membind(long struct) Unsafe version offirsttouch_membind(). -
nbind_membind
public static boolean nbind_membind(long struct) Unsafe version ofbind_membind(). -
ninterleave_membind
public static boolean ninterleave_membind(long struct) Unsafe version ofinterleave_membind(). -
nweighted_interleave_membind
public static boolean nweighted_interleave_membind(long struct) Unsafe version ofweighted_interleave_membind(). -
nnexttouch_membind
public static boolean nnexttouch_membind(long struct) Unsafe version ofnexttouch_membind(). -
nmigrate_membind
public static boolean nmigrate_membind(long struct) Unsafe version ofmigrate_membind().
-