Class hwloc_distances_s

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class hwloc_distances_s extends Struct<hwloc_distances_s> implements NativeResource

 struct hwloc_distances_s {
     unsigned int nbobjs;
     hwloc_obj_t * objs;
     unsigned long kind;
     hwloc_uint64_t * values;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int NBOBJS
      The struct member offsets.
    • OBJS

      public static final int OBJS
      The struct member offsets.
    • KIND

      public static final int KIND
      The struct member offsets.
    • VALUES

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

    • hwloc_distances_s

      public hwloc_distances_s(ByteBuffer container)
      Creates a hwloc_distances_s 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