Package org.lwjgl.system.rpmalloc
Class RPmallocThreadStatistics.span_use.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<RPmallocThreadStatistics.span_use,RPmallocThreadStatistics.span_use.Buffer>
-
- org.lwjgl.system.rpmalloc.RPmallocThreadStatistics.span_use.Buffer
-
- All Implemented Interfaces:
java.lang.Iterable<RPmallocThreadStatistics.span_use>,org.lwjgl.system.Pointer
- Enclosing class:
- RPmallocThreadStatistics.span_use
public static class RPmallocThreadStatistics.span_use.Buffer extends org.lwjgl.system.StructBuffer<RPmallocThreadStatistics.span_use,RPmallocThreadStatistics.span_use.Buffer>
An array ofRPmallocThreadStatistics.span_usestructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcurrent()longfrom_cache()longfrom_global()longfrom_reserved()longmap_calls()longpeak()longto_cache()longto_global()longto_reserved()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newspan_use.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byRPmallocThreadStatistics.span_use.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
current
public long current()
- Returns:
- the value of the
RPmallocThreadStatistics.span_use.current()field.
-
peak
public long peak()
- Returns:
- the value of the
RPmallocThreadStatistics.span_use.peak()field.
-
to_global
public long to_global()
- Returns:
- the value of the
RPmallocThreadStatistics.span_use.to_global()field.
-
from_global
public long from_global()
- Returns:
- the value of the
RPmallocThreadStatistics.span_use.from_global()field.
-
to_cache
public long to_cache()
- Returns:
- the value of the
RPmallocThreadStatistics.span_use.to_cache()field.
-
from_cache
public long from_cache()
- Returns:
- the value of the
RPmallocThreadStatistics.span_use.from_cache()field.
-
to_reserved
public long to_reserved()
- Returns:
- the value of the
RPmallocThreadStatistics.span_use.to_reserved()field.
-
from_reserved
public long from_reserved()
- Returns:
- the value of the
RPmallocThreadStatistics.span_use.from_reserved()field.
-
map_calls
public long map_calls()
- Returns:
- the value of the
RPmallocThreadStatistics.span_use.map_calls()field.
-
-