Class hwloc_topology_cpubind_support

All Implemented Interfaces:
Pointer

public class hwloc_topology_cpubind_support extends Struct<hwloc_topology_cpubind_support>

 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;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • SET_THISPROC_CPUBIND

      public static final int SET_THISPROC_CPUBIND
      The struct member offsets.
    • GET_THISPROC_CPUBIND

      public static final int GET_THISPROC_CPUBIND
      The struct member offsets.
    • SET_PROC_CPUBIND

      public static final int SET_PROC_CPUBIND
      The struct member offsets.
    • GET_PROC_CPUBIND

      public static final int GET_PROC_CPUBIND
      The struct member offsets.
    • SET_THISTHREAD_CPUBIND

      public static final int SET_THISTHREAD_CPUBIND
      The struct member offsets.
    • GET_THISTHREAD_CPUBIND

      public static final int GET_THISTHREAD_CPUBIND
      The struct member offsets.
    • SET_THREAD_CPUBIND

      public static final int SET_THREAD_CPUBIND
      The struct member offsets.
    • GET_THREAD_CPUBIND

      public static final int GET_THREAD_CPUBIND
      The struct member offsets.
    • GET_THISPROC_LAST_CPU_LOCATION

      public static final int GET_THISPROC_LAST_CPU_LOCATION
      The struct member offsets.
    • GET_PROC_LAST_CPU_LOCATION

      public static final int GET_PROC_LAST_CPU_LOCATION
      The struct member offsets.
    • GET_THISTHREAD_LAST_CPU_LOCATION

      public static final int GET_THISTHREAD_LAST_CPU_LOCATION
      The struct member offsets.
  • Constructor Details

    • hwloc_topology_cpubind_support

      public hwloc_topology_cpubind_support(ByteBuffer container)
      Creates a hwloc_topology_cpubind_support instance at the current position of the specified ByteBuffer 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
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<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

      public static hwloc_topology_cpubind_support create(long address)
      Returns a new hwloc_topology_cpubind_support instance for the specified memory address.
    • createSafe

      public static @Nullable hwloc_topology_cpubind_support createSafe(long address)
      Like create, but returns null if address is NULL.
    • create

      public static hwloc_topology_cpubind_support.Buffer create(long address, int capacity)
      Create a hwloc_topology_cpubind_support.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable hwloc_topology_cpubind_support.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • nset_thisproc_cpubind

      public static boolean nset_thisproc_cpubind(long struct)
      Unsafe version of set_thisproc_cpubind().
    • nget_thisproc_cpubind

      public static boolean nget_thisproc_cpubind(long struct)
      Unsafe version of get_thisproc_cpubind().
    • nset_proc_cpubind

      public static boolean nset_proc_cpubind(long struct)
      Unsafe version of set_proc_cpubind().
    • nget_proc_cpubind

      public static boolean nget_proc_cpubind(long struct)
      Unsafe version of get_proc_cpubind().
    • nset_thisthread_cpubind

      public static boolean nset_thisthread_cpubind(long struct)
      Unsafe version of set_thisthread_cpubind().
    • nget_thisthread_cpubind

      public static boolean nget_thisthread_cpubind(long struct)
      Unsafe version of get_thisthread_cpubind().
    • nset_thread_cpubind

      public static boolean nset_thread_cpubind(long struct)
      Unsafe version of set_thread_cpubind().
    • nget_thread_cpubind

      public static boolean nget_thread_cpubind(long struct)
      Unsafe version of get_thread_cpubind().
    • nget_thisproc_last_cpu_location

      public static boolean nget_thisproc_last_cpu_location(long struct)
    • nget_proc_last_cpu_location

      public static boolean nget_proc_last_cpu_location(long struct)
      Unsafe version of get_proc_last_cpu_location().
    • nget_thisthread_last_cpu_location

      public static boolean nget_thisthread_last_cpu_location(long struct)