Package org.lwjgl.system.rpmalloc
Class RPmallocThreadStatistics.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<RPmallocThreadStatistics,RPmallocThreadStatistics.Buffer>
-
- org.lwjgl.system.rpmalloc.RPmallocThreadStatistics.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<RPmallocThreadStatistics>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- RPmallocThreadStatistics
public static class RPmallocThreadStatistics.Buffer extends org.lwjgl.system.StructBuffer<RPmallocThreadStatistics,RPmallocThreadStatistics.Buffer> implements org.lwjgl.system.NativeResource
An array ofRPmallocThreadStatisticsstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longglobal_to_thread()RPmallocThreadStatistics.size_use.Buffersize_use()RPmallocThreadStatistics.size_usesize_use(int index)longsizecache()RPmallocThreadStatistics.span_use.Bufferspan_use()RPmallocThreadStatistics.span_usespan_use(int index)longspancache()longthread_to_global()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newRPmallocThreadStatistics.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.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
-
sizecache
public long sizecache()
- Returns:
- the value of the
RPmallocThreadStatistics.sizecache()field.
-
spancache
public long spancache()
- Returns:
- the value of the
RPmallocThreadStatistics.spancache()field.
-
thread_to_global
public long thread_to_global()
- Returns:
- the value of the
RPmallocThreadStatistics.thread_to_global()field.
-
global_to_thread
public long global_to_thread()
- Returns:
- the value of the
RPmallocThreadStatistics.global_to_thread()field.
-
span_use
public RPmallocThreadStatistics.span_use.Buffer span_use()
- Returns:
- a
RPmallocThreadStatistics.span_use.Buffer view of theRPmallocThreadStatistics.span_use()field.
-
span_use
public RPmallocThreadStatistics.span_use span_use(int index)
- Returns:
- a
RPmallocThreadStatistics.span_useview of the struct at the specified index of theRPmallocThreadStatistics.span_use()field.
-
size_use
public RPmallocThreadStatistics.size_use.Buffer size_use()
- Returns:
- a
RPmallocThreadStatistics.size_use.Buffer view of theRPmallocThreadStatistics.size_use()field.
-
size_use
public RPmallocThreadStatistics.size_use size_use(int index)
- Returns:
- a
RPmallocThreadStatistics.size_useview of the struct at the specified index of theRPmallocThreadStatistics.size_use()field.
-
-