Class hwloc_topology_membind_support

All Implemented Interfaces:
Pointer

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;
 }
  • 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_MEMBIND

      public static final int SET_THISPROC_MEMBIND
      The struct member offsets.
    • GET_THISPROC_MEMBIND

      public static final int GET_THISPROC_MEMBIND
      The struct member offsets.
    • SET_PROC_MEMBIND

      public static final int SET_PROC_MEMBIND
      The struct member offsets.
    • GET_PROC_MEMBIND

      public static final int GET_PROC_MEMBIND
      The struct member offsets.
    • SET_THISTHREAD_MEMBIND

      public static final int SET_THISTHREAD_MEMBIND
      The struct member offsets.
    • GET_THISTHREAD_MEMBIND

      public static final int GET_THISTHREAD_MEMBIND
      The struct member offsets.
    • ALLOC_MEMBIND

      public static final int ALLOC_MEMBIND
      The struct member offsets.
    • SET_AREA_MEMBIND

      public static final int SET_AREA_MEMBIND
      The struct member offsets.
    • GET_AREA_MEMBIND

      public static final int GET_AREA_MEMBIND
      The struct member offsets.
    • GET_AREA_MEMLOCATION

      public static final int GET_AREA_MEMLOCATION
      The struct member offsets.
    • FIRSTTOUCH_MEMBIND

      public static final int FIRSTTOUCH_MEMBIND
      The struct member offsets.
    • BIND_MEMBIND

      public static final int BIND_MEMBIND
      The struct member offsets.
    • INTERLEAVE_MEMBIND

      public static final int INTERLEAVE_MEMBIND
      The struct member offsets.
    • WEIGHTED_INTERLEAVE_MEMBIND

      public static final int WEIGHTED_INTERLEAVE_MEMBIND
      The struct member offsets.
    • NEXTTOUCH_MEMBIND

      public static final int NEXTTOUCH_MEMBIND
      The struct member offsets.
    • MIGRATE_MEMBIND

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

    • hwloc_topology_membind_support

      public hwloc_topology_membind_support(ByteBuffer container)
      Creates a hwloc_topology_membind_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_membind_support>
    • set_thisproc_membind

      public boolean set_thisproc_membind()
      Returns:
      the value of the set_thisproc_membind field.
    • get_thisproc_membind

      public boolean get_thisproc_membind()
      Returns:
      the value of the get_thisproc_membind field.
    • set_proc_membind

      public boolean set_proc_membind()
      Returns:
      the value of the set_proc_membind field.
    • get_proc_membind

      public boolean get_proc_membind()
      Returns:
      the value of the get_proc_membind field.
    • set_thisthread_membind

      public boolean set_thisthread_membind()
      Returns:
      the value of the set_thisthread_membind field.
    • get_thisthread_membind

      public boolean get_thisthread_membind()
      Returns:
      the value of the get_thisthread_membind field.
    • alloc_membind

      public boolean alloc_membind()
      Returns:
      the value of the alloc_membind field.
    • set_area_membind

      public boolean set_area_membind()
      Returns:
      the value of the set_area_membind field.
    • get_area_membind

      public boolean get_area_membind()
      Returns:
      the value of the get_area_membind field.
    • get_area_memlocation

      public boolean get_area_memlocation()
      Returns:
      the value of the get_area_memlocation field.
    • firsttouch_membind

      public boolean firsttouch_membind()
      Returns:
      the value of the firsttouch_membind field.
    • bind_membind

      public boolean bind_membind()
      Returns:
      the value of the bind_membind field.
    • interleave_membind

      public boolean interleave_membind()
      Returns:
      the value of the interleave_membind field.
    • weighted_interleave_membind

      public boolean weighted_interleave_membind()
      Returns:
      the value of the weighted_interleave_membind field.
    • nexttouch_membind

      public boolean nexttouch_membind()
      Returns:
      the value of the nexttouch_membind field.
    • migrate_membind

      public boolean migrate_membind()
      Returns:
      the value of the migrate_membind field.
    • create

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

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

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

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

      public static boolean nset_thisproc_membind(long struct)
      Unsafe version of set_thisproc_membind().
    • nget_thisproc_membind

      public static boolean nget_thisproc_membind(long struct)
      Unsafe version of get_thisproc_membind().
    • nset_proc_membind

      public static boolean nset_proc_membind(long struct)
      Unsafe version of set_proc_membind().
    • nget_proc_membind

      public static boolean nget_proc_membind(long struct)
      Unsafe version of get_proc_membind().
    • nset_thisthread_membind

      public static boolean nset_thisthread_membind(long struct)
      Unsafe version of set_thisthread_membind().
    • nget_thisthread_membind

      public static boolean nget_thisthread_membind(long struct)
      Unsafe version of get_thisthread_membind().
    • nalloc_membind

      public static boolean nalloc_membind(long struct)
      Unsafe version of alloc_membind().
    • nset_area_membind

      public static boolean nset_area_membind(long struct)
      Unsafe version of set_area_membind().
    • nget_area_membind

      public static boolean nget_area_membind(long struct)
      Unsafe version of get_area_membind().
    • nget_area_memlocation

      public static boolean nget_area_memlocation(long struct)
      Unsafe version of get_area_memlocation().
    • nfirsttouch_membind

      public static boolean nfirsttouch_membind(long struct)
      Unsafe version of firsttouch_membind().
    • nbind_membind

      public static boolean nbind_membind(long struct)
      Unsafe version of bind_membind().
    • ninterleave_membind

      public static boolean ninterleave_membind(long struct)
      Unsafe version of interleave_membind().
    • nweighted_interleave_membind

      public static boolean nweighted_interleave_membind(long struct)
    • nnexttouch_membind

      public static boolean nnexttouch_membind(long struct)
      Unsafe version of nexttouch_membind().
    • nmigrate_membind

      public static boolean nmigrate_membind(long struct)
      Unsafe version of migrate_membind().