public class MemoryStats
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MemoryStats.PoolStats |
| Modifier and Type | Field and Description |
|---|---|
long |
address |
static int |
SIZE
The size of the statistics for a single malloc pool
|
static int |
TOTAL_MALLOC_POOLS |
| Constructor and Description |
|---|
MemoryStats(org.aspectj.org.eclipse.jdt.internal.core.nd.db.Chunk db,
long address) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<MemoryStats.PoolStats> |
getPools() |
java.util.List<MemoryStats.PoolStats> |
getSortedPools() |
void |
printMemoryStats(NdNodeTypeRegistry<?> nodeRegistry) |
MemoryStats.PoolStats |
readPool(int idx) |
void |
recordFree(short poolId,
long size) |
void |
recordMalloc(short poolId,
long size) |
void |
refresh() |
public static final int TOTAL_MALLOC_POOLS
public static final int SIZE
public final long address
public MemoryStats(org.aspectj.org.eclipse.jdt.internal.core.nd.db.Chunk db,
long address)
public void printMemoryStats(NdNodeTypeRegistry<?> nodeRegistry)
public java.util.Collection<MemoryStats.PoolStats> getPools()
public java.util.List<MemoryStats.PoolStats> getSortedPools()
public void recordMalloc(short poolId,
long size)
public void refresh()
public MemoryStats.PoolStats readPool(int idx)
public void recordFree(short poolId,
long size)