These are slower to calculate. Use for debugging purposes.
struct VmaTotalStatistics {
VmaDetailedStatistics memoryType[32];
VmaDetailedStatistics memoryHeap[16];
VmaDetailedStatistics total;
}
Vma#vmaCalculateStatistics
| Modifier and Type | Class and Description |
|---|---|
| public static class | VmaTotalStatistics.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MEMORYHEAP
The struct member offsets. |
| public static final int | MEMORYTYPE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TOTAL
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VmaTotalStatistics(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VmaTotalStatistics | |
| public static VmaTotalStatistics. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VmaTotalStatistics | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VmaTotalStatistics. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VmaTotalStatistics | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VmaTotalStatistics | |
| public static VmaTotalStatistics | |
| public static VmaTotalStatistics. | create(int
the buffer capacity capacity)Returns a new |
| public static VmaTotalStatistics. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VmaTotalStatistics | |
| public static VmaTotalStatistics. | |
| public static VmaTotalStatistics | |
| public static VmaTotalStatistics. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VmaTotalStatistics | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VmaTotalStatistics. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public VmaDetailedStatistics. | |
| public VmaDetailedStatistics | |
| public VmaDetailedStatistics. | |
| public VmaDetailedStatistics | |
| public static VmaDetailedStatistics. | |
| public static VmaDetailedStatistics | |
| public static VmaDetailedStatistics. | |
| public static VmaDetailedStatistics | |
| public static VmaDetailedStatistics | |
| public int | |
| public VmaDetailedStatistics |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MEMORYHEAP | back to summary |
|---|---|
| public static final int MEMORYHEAP The struct member offsets. | |
| MEMORYTYPE | back to summary |
|---|---|
| public static final int MEMORYTYPE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TOTAL | back to summary |
|---|---|
| public static final int TOTAL The struct member offsets. | |
| VmaTotalStatistics | back to summary |
|---|---|
| protected VmaTotalStatistics(long address, ByteBuffer container) | |
| VmaTotalStatistics | back to summary |
|---|---|
| public VmaTotalStatistics(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VmaTotalStatistics calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VmaTotalStatistics. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VmaTotalStatistics calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VmaTotalStatistics. Returns a new
| |
| create | back to summary |
|---|---|
| protected VmaTotalStatistics create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VmaTotalStatistics create() Returns a new | |
| create | back to summary |
|---|---|
| public static VmaTotalStatistics create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VmaTotalStatistics. Returns a new
| |
| create | back to summary |
|---|---|
| public static VmaTotalStatistics. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VmaTotalStatistics createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VmaTotalStatistics. Like
| |
| malloc | back to summary |
|---|---|
| public static VmaTotalStatistics malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VmaTotalStatistics. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VmaTotalStatistics malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VmaTotalStatistics. Returns a new
| |
| memoryHeap | back to summary |
|---|---|
public VmaDetailedStatistics.
| |
| memoryHeap | back to summary |
|---|---|
public VmaDetailedStatistics memoryHeap(int index)
| |
| memoryType | back to summary |
|---|---|
public VmaDetailedStatistics.
| |
| memoryType | back to summary |
|---|---|
public VmaDetailedStatistics memoryType(int index)
| |
| nmemoryHeap | back to summary |
|---|---|
| public static VmaDetailedStatistics. Unsafe version of | |
| nmemoryHeap | back to summary |
|---|---|
| public static VmaDetailedStatistics nmemoryHeap(long struct, int index) Unsafe version of | |
| nmemoryType | back to summary |
|---|---|
| public static VmaDetailedStatistics. Unsafe version of | |
| nmemoryType | back to summary |
|---|---|
| public static VmaDetailedStatistics nmemoryType(long struct, int index) Unsafe version of | |
| ntotal | back to summary |
|---|---|
| public static VmaDetailedStatistics ntotal(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| total | back to summary |
|---|---|
public VmaDetailedStatistics total()
| |
VmaTotalStatistics structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VmaTotalStatistics |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected VmaTotalStatistics | |
| public VmaDetailedStatistics. | |
| public VmaDetailedStatistics | |
| public VmaDetailedStatistics. | |
| public VmaDetailedStatistics | |
| protected VmaTotalStatistics. | |
| public VmaDetailedStatistics |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VmaTotalStatistics ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected VmaTotalStatistics getElementFactory() Implements abstract org.
| |
| memoryHeap | back to summary |
|---|---|
public VmaDetailedStatistics.
| |
| memoryHeap | back to summary |
|---|---|
public VmaDetailedStatistics memoryHeap(int index)
| |
| memoryType | back to summary |
|---|---|
public VmaDetailedStatistics.
| |
| memoryType | back to summary |
|---|---|
public VmaDetailedStatistics memoryType(int index)
| |
| self | back to summary |
|---|---|
| protected VmaTotalStatistics. Implements abstract org.
| |
| total | back to summary |
|---|---|
public VmaDetailedStatistics total()
| |