struct rpmalloc_thread_statistics_t {
size_t sizecache;
size_t spancache;
size_t thread_to_global;
size_t global_to_thread;
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;
} span_use[64];
struct {
size_t alloc_current;
size_t alloc_peak;
size_t alloc_total;
size_t free_total;
size_t spans_to_cache;
size_t spans_from_cache;
size_t spans_from_reserved;
size_t map_calls;
} size_use[128];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | RPmallocThreadStatistics.
An array of |
| public static class | RPmallocThreadStatistics.
Layout
|
| public static class | RPmallocThreadStatistics.
Layout
|
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | GLOBAL_TO_THREAD
The struct member offsets. |
| public static final int | SIZE_USE
The struct member offsets. |
| public static final int | SIZECACHE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SPAN_USE
The struct member offsets. |
| public static final int | SPANCACHE
The struct member offsets. |
| public static final int | THREAD_TO_GLOBAL
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | RPmallocThreadStatistics(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static RPmallocThreadStatistics | |
| public static RPmallocThreadStatistics. | calloc(int
the buffer capacity capacity)Returns a new |
| public static RPmallocThreadStatistics | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RPmallocThreadStatistics. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static RPmallocThreadStatistics | |
| public static RPmallocThreadStatistics | |
| public static RPmallocThreadStatistics. | |
| public static RPmallocThreadStatistics. | |
| protected RPmallocThreadStatistics | 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 RPmallocThreadStatistics | |
| public static RPmallocThreadStatistics | create(long address)
Returns a new |
| public static RPmallocThreadStatistics. | create(int
the buffer capacity capacity)Returns a new |
| public static RPmallocThreadStatistics. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static RPmallocThreadStatistics | |
| public static RPmallocThreadStatistics. | |
| public long | global_to_thread()
Total number of bytes transitioned from global cache to thread cache (only if |
| public static RPmallocThreadStatistics | |
| public static RPmallocThreadStatistics. | malloc(int
the buffer capacity capacity)Returns a new |
| public static RPmallocThreadStatistics | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RPmallocThreadStatistics. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static RPmallocThreadStatistics | |
| public static RPmallocThreadStatistics | |
| public static RPmallocThreadStatistics. | |
| public static RPmallocThreadStatistics. | |
| public static long | |
| public static RPmallocThreadStatistics. | |
| public static RPmallocThreadStatistics. | |
| public static long | |
| public static RPmallocThreadStatistics. | |
| public static RPmallocThreadStatistics. | |
| public static long | |
| public static long | |
| public RPmallocThreadStatistics. | |
| public RPmallocThreadStatistics. | |
| public long | sizecache()
Current number of bytes available in thread size class caches for small and medium sizes (<32KiB) |
| public int | |
| public RPmallocThreadStatistics. | |
| public RPmallocThreadStatistics. | |
| public long | spancache()
Current number of bytes available in thread span caches for small and medium sizes (<32KiB) |
| public long | thread_to_global()
Total number of bytes transitioned from thread cache to global cache (only if |