Class RPmallocGlobalStatistics

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

@NativeType("struct rpmalloc_global_statistics_t") public class RPmallocGlobalStatistics extends Struct<RPmallocGlobalStatistics> implements NativeResource
struct rpmalloc_global_statistics_t {
    size_t mapped;
    size_t mapped_peak;
    size_t cached;
    size_t huge_alloc;
    size_t huge_alloc_peak;
    size_t mapped_total;
    size_t unmapped_total;
}
  • Field Details

    • SIZEOF

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

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

      public static final int MAPPED
      The struct member offsets.
    • MAPPED_PEAK

      public static final int MAPPED_PEAK
      The struct member offsets.
    • CACHED

      public static final int CACHED
      The struct member offsets.
    • HUGE_ALLOC

      public static final int HUGE_ALLOC
      The struct member offsets.
    • HUGE_ALLOC_PEAK

      public static final int HUGE_ALLOC_PEAK
      The struct member offsets.
    • MAPPED_TOTAL

      public static final int MAPPED_TOTAL
      The struct member offsets.
    • UNMAPPED_TOTAL

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

    • RPmallocGlobalStatistics

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