Package org.lwjgl.util.hwloc
Class hwloc_topology_cpubind_support
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<hwloc_topology_cpubind_support>
org.lwjgl.util.hwloc.hwloc_topology_cpubind_support
- All Implemented Interfaces:
Pointer
struct hwloc_topology_cpubind_support {
unsigned char set_thisproc_cpubind;
unsigned char get_thisproc_cpubind;
unsigned char set_proc_cpubind;
unsigned char get_proc_cpubind;
unsigned char set_thisthread_cpubind;
unsigned char get_thisthread_cpubind;
unsigned char set_thread_cpubind;
unsigned char get_thread_cpubind;
unsigned char get_thisproc_last_cpu_location;
unsigned char get_proc_last_cpu_location;
unsigned char get_thisthread_last_cpu_location;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofhwloc_topology_cpubind_supportstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.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 size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionhwloc_topology_cpubind_support(ByteBuffer container) Creates ahwloc_topology_cpubind_supportinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncreate(long address) Returns a newhwloc_topology_cpubind_supportinstance for the specified memory address.create(long address, int capacity) Create ahwloc_topology_cpubind_support.Bufferinstance at the specified memory.static @Nullable hwloc_topology_cpubind_supportcreateSafe(long address) static @Nullable hwloc_topology_cpubind_support.BuffercreateSafe(long address, int capacity) booleanbooleanbooleanbooleanbooleanbooleanbooleanstatic booleannget_proc_cpubind(long struct) Unsafe version ofget_proc_cpubind().static booleannget_proc_last_cpu_location(long struct) Unsafe version ofget_proc_last_cpu_location().static booleannget_thisproc_cpubind(long struct) Unsafe version ofget_thisproc_cpubind().static booleannget_thisproc_last_cpu_location(long struct) Unsafe version ofget_thisproc_last_cpu_location().static booleannget_thisthread_cpubind(long struct) Unsafe version ofget_thisthread_cpubind().static booleannget_thisthread_last_cpu_location(long struct) Unsafe version ofget_thisthread_last_cpu_location().static booleannget_thread_cpubind(long struct) Unsafe version ofget_thread_cpubind().static booleannset_proc_cpubind(long struct) Unsafe version ofset_proc_cpubind().static booleannset_thisproc_cpubind(long struct) Unsafe version ofset_thisproc_cpubind().static booleannset_thisthread_cpubind(long struct) Unsafe version ofset_thisthread_cpubind().static booleannset_thread_cpubind(long struct) Unsafe version ofset_thread_cpubind().booleanbooleanbooleanbooleanintsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.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_CPUBIND
public static final int SET_THISPROC_CPUBINDThe struct member offsets. -
GET_THISPROC_CPUBIND
public static final int GET_THISPROC_CPUBINDThe struct member offsets. -
SET_PROC_CPUBIND
public static final int SET_PROC_CPUBINDThe struct member offsets. -
GET_PROC_CPUBIND
public static final int GET_PROC_CPUBINDThe struct member offsets. -
SET_THISTHREAD_CPUBIND
public static final int SET_THISTHREAD_CPUBINDThe struct member offsets. -
GET_THISTHREAD_CPUBIND
public static final int GET_THISTHREAD_CPUBINDThe struct member offsets. -
SET_THREAD_CPUBIND
public static final int SET_THREAD_CPUBINDThe struct member offsets. -
GET_THREAD_CPUBIND
public static final int GET_THREAD_CPUBINDThe struct member offsets. -
GET_THISPROC_LAST_CPU_LOCATION
public static final int GET_THISPROC_LAST_CPU_LOCATIONThe struct member offsets. -
GET_PROC_LAST_CPU_LOCATION
public static final int GET_PROC_LAST_CPU_LOCATIONThe struct member offsets. -
GET_THISTHREAD_LAST_CPU_LOCATION
public static final int GET_THISTHREAD_LAST_CPU_LOCATIONThe struct member offsets.
-
-
Constructor Details
-
hwloc_topology_cpubind_support
Creates ahwloc_topology_cpubind_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_cpubind_support>
-
set_thisproc_cpubind
public boolean set_thisproc_cpubind()- Returns:
- the value of the
set_thisproc_cpubindfield.
-
get_thisproc_cpubind
public boolean get_thisproc_cpubind()- Returns:
- the value of the
get_thisproc_cpubindfield.
-
set_proc_cpubind
public boolean set_proc_cpubind()- Returns:
- the value of the
set_proc_cpubindfield.
-
get_proc_cpubind
public boolean get_proc_cpubind()- Returns:
- the value of the
get_proc_cpubindfield.
-
set_thisthread_cpubind
public boolean set_thisthread_cpubind()- Returns:
- the value of the
set_thisthread_cpubindfield.
-
get_thisthread_cpubind
public boolean get_thisthread_cpubind()- Returns:
- the value of the
get_thisthread_cpubindfield.
-
set_thread_cpubind
public boolean set_thread_cpubind()- Returns:
- the value of the
set_thread_cpubindfield.
-
get_thread_cpubind
public boolean get_thread_cpubind()- Returns:
- the value of the
get_thread_cpubindfield.
-
get_thisproc_last_cpu_location
public boolean get_thisproc_last_cpu_location()- Returns:
- the value of the
get_thisproc_last_cpu_locationfield.
-
get_proc_last_cpu_location
public boolean get_proc_last_cpu_location()- Returns:
- the value of the
get_proc_last_cpu_locationfield.
-
get_thisthread_last_cpu_location
public boolean get_thisthread_last_cpu_location()- Returns:
- the value of the
get_thisthread_last_cpu_locationfield.
-
create
Returns a newhwloc_topology_cpubind_supportinstance for the specified memory address. -
createSafe
-
create
Create ahwloc_topology_cpubind_support.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable hwloc_topology_cpubind_support.Buffer createSafe(long address, int capacity) -
nset_thisproc_cpubind
public static boolean nset_thisproc_cpubind(long struct) Unsafe version ofset_thisproc_cpubind(). -
nget_thisproc_cpubind
public static boolean nget_thisproc_cpubind(long struct) Unsafe version ofget_thisproc_cpubind(). -
nset_proc_cpubind
public static boolean nset_proc_cpubind(long struct) Unsafe version ofset_proc_cpubind(). -
nget_proc_cpubind
public static boolean nget_proc_cpubind(long struct) Unsafe version ofget_proc_cpubind(). -
nset_thisthread_cpubind
public static boolean nset_thisthread_cpubind(long struct) Unsafe version ofset_thisthread_cpubind(). -
nget_thisthread_cpubind
public static boolean nget_thisthread_cpubind(long struct) Unsafe version ofget_thisthread_cpubind(). -
nset_thread_cpubind
public static boolean nset_thread_cpubind(long struct) Unsafe version ofset_thread_cpubind(). -
nget_thread_cpubind
public static boolean nget_thread_cpubind(long struct) Unsafe version ofget_thread_cpubind(). -
nget_thisproc_last_cpu_location
public static boolean nget_thisproc_last_cpu_location(long struct) Unsafe version ofget_thisproc_last_cpu_location(). -
nget_proc_last_cpu_location
public static boolean nget_proc_last_cpu_location(long struct) Unsafe version ofget_proc_last_cpu_location(). -
nget_thisthread_last_cpu_location
public static boolean nget_thisthread_last_cpu_location(long struct) Unsafe version ofget_thisthread_last_cpu_location().
-