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_use
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
current()
Returns the value of thecurrent
field.long
from_cache()
Returns the value of thefrom_cache
field.long
from_global()
Returns the value of thefrom_global
field.long
from_reserved()
Returns the value of thefrom_reserved
field.long
map_calls()
Returns the value of themap_calls
field.long
peak()
Returns the value of thepeak
field.long
to_cache()
Returns the value of theto_cache
field.long
to_global()
Returns the value of theto_global
field.long
to_reserved()
Returns the value of theto_reserved
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newspan_use.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.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 thecurrent
field.
-
peak
public long peak()
Returns the value of thepeak
field.
-
to_global
public long to_global()
Returns the value of theto_global
field.
-
from_global
public long from_global()
Returns the value of thefrom_global
field.
-
to_cache
public long to_cache()
Returns the value of theto_cache
field.
-
from_cache
public long from_cache()
Returns the value of thefrom_cache
field.
-
to_reserved
public long to_reserved()
Returns the value of theto_reserved
field.
-
from_reserved
public long from_reserved()
Returns the value of thefrom_reserved
field.
-
map_calls
public long map_calls()
Returns the value of themap_calls
field.
-
-