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 ofRPmallocThreadStatistics
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
global_to_thread()
Returns the value of theglobal_to_thread
field.RPmallocThreadStatistics.size_use.Buffer
size_use()
Returns aRPmallocThreadStatistics.size_use
.Buffer view of thesize_use
field.RPmallocThreadStatistics.size_use
size_use(int index)
Returns aRPmallocThreadStatistics.size_use
view of the struct at the specified index of thesize_use
field.long
sizecache()
Returns the value of thesizecache
field.RPmallocThreadStatistics.span_use.Buffer
span_use()
Returns aRPmallocThreadStatistics.span_use
.Buffer view of thespan_use
field.RPmallocThreadStatistics.span_use
span_use(int index)
Returns aRPmallocThreadStatistics.span_use
view of the struct at the specified index of thespan_use
field.long
spancache()
Returns the value of thespancache
field.long
thread_to_global()
Returns the value of thethread_to_global
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newRPmallocThreadStatistics.Buffer
instance 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 thesizecache
field.
-
spancache
public long spancache()
Returns the value of thespancache
field.
-
thread_to_global
public long thread_to_global()
Returns the value of thethread_to_global
field.
-
global_to_thread
public long global_to_thread()
Returns the value of theglobal_to_thread
field.
-
span_use
public RPmallocThreadStatistics.span_use.Buffer span_use()
Returns aRPmallocThreadStatistics.span_use
.Buffer view of thespan_use
field.
-
span_use
public RPmallocThreadStatistics.span_use span_use(int index)
Returns aRPmallocThreadStatistics.span_use
view of the struct at the specified index of thespan_use
field.
-
size_use
public RPmallocThreadStatistics.size_use.Buffer size_use()
Returns aRPmallocThreadStatistics.size_use
.Buffer view of thesize_use
field.
-
size_use
public RPmallocThreadStatistics.size_use size_use(int index)
Returns aRPmallocThreadStatistics.size_use
view of the struct at the specified index of thesize_use
field.
-
-