public static class RPmallocThreadStatistics.span_use
extends org.lwjgl.system.Struct
current – Currently used number of spanspeak – High water mark of spans usedto_global – Number of spans transitioned to global cachefrom_global – Number of spans transitioned from global cacheto_cache – Number of spans transitioned to thread cachefrom_cache – Number of spans transitioned from thread cacheto_reserved – Number of spans transitioned to reserved statefrom_reserved – Number of spans transitioned from reserved statemap_calls – Number of raw memory map calls (not hitting the reserve spans but resulting in actual OS mmap calls)
struct {
size_t current;
size_t peak;
size_t to_global;
size_t from_global;
size_t to_cache;
size_t from_cache;
size_t to_reserved;
size_t from_reserved;
size_t map_calls;
}| Modifier and Type | Class and Description |
|---|---|
static class |
RPmallocThreadStatistics.span_use.Buffer
An array of
RPmallocThreadStatistics.span_use structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CURRENT
The struct member offsets.
|
static int |
FROM_CACHE
The struct member offsets.
|
static int |
FROM_GLOBAL
The struct member offsets.
|
static int |
FROM_RESERVED
The struct member offsets.
|
static int |
MAP_CALLS
The struct member offsets.
|
static int |
PEAK
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TO_CACHE
The struct member offsets.
|
static int |
TO_GLOBAL
The struct member offsets.
|
static int |
TO_RESERVED
The struct member offsets.
|
| Constructor and Description |
|---|
span_use(java.nio.ByteBuffer container)
Creates a
span_use instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static RPmallocThreadStatistics.span_use |
create(long address)
Returns a new
span_use instance for the specified memory address. |
static RPmallocThreadStatistics.span_use.Buffer |
create(long address,
int capacity)
Create a
RPmallocThreadStatistics.span_use.Buffer instance at the specified memory. |
static RPmallocThreadStatistics.span_use |
createSafe(long address)
|
static RPmallocThreadStatistics.span_use.Buffer |
createSafe(long address,
int capacity)
|
long |
current()
Returns the value of the
current field. |
long |
from_cache()
Returns the value of the
from_cache field. |
long |
from_global()
Returns the value of the
from_global field. |
long |
from_reserved()
Returns the value of the
from_reserved field. |
long |
map_calls()
Returns the value of the
map_calls field. |
static long |
ncurrent(long struct)
Unsafe version of
current(). |
static long |
nfrom_cache(long struct)
Unsafe version of
from_cache(). |
static long |
nfrom_global(long struct)
Unsafe version of
from_global(). |
static long |
nfrom_reserved(long struct)
Unsafe version of
from_reserved(). |
static long |
nmap_calls(long struct)
Unsafe version of
map_calls(). |
static long |
npeak(long struct)
Unsafe version of
peak(). |
static long |
nto_cache(long struct)
Unsafe version of
to_cache(). |
static long |
nto_global(long struct)
Unsafe version of
to_global(). |
static long |
nto_reserved(long struct)
Unsafe version of
to_reserved(). |
long |
peak()
Returns the value of the
peak field. |
int |
sizeof() |
long |
to_cache()
Returns the value of the
to_cache field. |
long |
to_global()
Returns the value of the
to_global field. |
long |
to_reserved()
Returns the value of the
to_reserved field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int CURRENT
public static final int PEAK
public static final int TO_GLOBAL
public static final int FROM_GLOBAL
public static final int TO_CACHE
public static final int FROM_CACHE
public static final int TO_RESERVED
public static final int FROM_RESERVED
public static final int MAP_CALLS
public span_use(java.nio.ByteBuffer container)
span_use 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic long current()
current field.public long peak()
peak field.public long to_global()
to_global field.public long from_global()
from_global field.public long to_cache()
to_cache field.public long from_cache()
from_cache field.public long to_reserved()
to_reserved field.public long from_reserved()
from_reserved field.public long map_calls()
map_calls field.public static RPmallocThreadStatistics.span_use create(long address)
span_use instance for the specified memory address.@Nullable public static RPmallocThreadStatistics.span_use createSafe(long address)
public static RPmallocThreadStatistics.span_use.Buffer create(long address, int capacity)
RPmallocThreadStatistics.span_use.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static RPmallocThreadStatistics.span_use.Buffer createSafe(long address, int capacity)
public static long ncurrent(long struct)
current().public static long npeak(long struct)
peak().public static long nto_global(long struct)
to_global().public static long nfrom_global(long struct)
from_global().public static long nto_cache(long struct)
to_cache().public static long nfrom_cache(long struct)
from_cache().public static long nto_reserved(long struct)
to_reserved().public static long nfrom_reserved(long struct)
from_reserved().public static long nmap_calls(long struct)
map_calls().Copyright LWJGL. All Rights Reserved. License terms.