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 class
An array ofhwloc_topology_cpubind_support
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The 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_support
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(long address) Returns a newhwloc_topology_cpubind_support
instance for the specified memory address.create
(long address, int capacity) Create ahwloc_topology_cpubind_support.Buffer
instance at the specified memory.static @Nullable hwloc_topology_cpubind_support
createSafe
(long address) static @Nullable hwloc_topology_cpubind_support.Buffer
createSafe
(long address, int capacity) boolean
boolean
boolean
boolean
boolean
boolean
boolean
static boolean
nget_proc_cpubind
(long struct) Unsafe version ofget_proc_cpubind()
.static boolean
nget_proc_last_cpu_location
(long struct) Unsafe version ofget_proc_last_cpu_location()
.static boolean
nget_thisproc_cpubind
(long struct) Unsafe version ofget_thisproc_cpubind()
.static boolean
nget_thisproc_last_cpu_location
(long struct) Unsafe version ofget_thisproc_last_cpu_location()
.static boolean
nget_thisthread_cpubind
(long struct) Unsafe version ofget_thisthread_cpubind()
.static boolean
nget_thisthread_last_cpu_location
(long struct) Unsafe version ofget_thisthread_last_cpu_location()
.static boolean
nget_thread_cpubind
(long struct) Unsafe version ofget_thread_cpubind()
.static boolean
nset_proc_cpubind
(long struct) Unsafe version ofset_proc_cpubind()
.static boolean
nset_thisproc_cpubind
(long struct) Unsafe version ofset_thisproc_cpubind()
.static boolean
nset_thisthread_cpubind
(long struct) Unsafe version ofset_thisthread_cpubind()
.static boolean
nset_thread_cpubind
(long struct) Unsafe version ofset_thread_cpubind()
.boolean
boolean
boolean
boolean
int
sizeof()
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_support
instance at the current position of the specifiedByteBuffer
container. 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:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<hwloc_topology_cpubind_support>
-
set_thisproc_cpubind
public boolean set_thisproc_cpubind()- Returns:
- the value of the
set_thisproc_cpubind
field.
-
get_thisproc_cpubind
public boolean get_thisproc_cpubind()- Returns:
- the value of the
get_thisproc_cpubind
field.
-
set_proc_cpubind
public boolean set_proc_cpubind()- Returns:
- the value of the
set_proc_cpubind
field.
-
get_proc_cpubind
public boolean get_proc_cpubind()- Returns:
- the value of the
get_proc_cpubind
field.
-
set_thisthread_cpubind
public boolean set_thisthread_cpubind()- Returns:
- the value of the
set_thisthread_cpubind
field.
-
get_thisthread_cpubind
public boolean get_thisthread_cpubind()- Returns:
- the value of the
get_thisthread_cpubind
field.
-
set_thread_cpubind
public boolean set_thread_cpubind()- Returns:
- the value of the
set_thread_cpubind
field.
-
get_thread_cpubind
public boolean get_thread_cpubind()- Returns:
- the value of the
get_thread_cpubind
field.
-
get_thisproc_last_cpu_location
public boolean get_thisproc_last_cpu_location()- Returns:
- the value of the
get_thisproc_last_cpu_location
field.
-
get_proc_last_cpu_location
public boolean get_proc_last_cpu_location()- Returns:
- the value of the
get_proc_last_cpu_location
field.
-
get_thisthread_last_cpu_location
public boolean get_thisthread_last_cpu_location()- Returns:
- the value of the
get_thisthread_last_cpu_location
field.
-
create
Returns a newhwloc_topology_cpubind_support
instance for the specified memory address. -
createSafe
-
create
Create ahwloc_topology_cpubind_support.Buffer
instance 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()
.
-