public class MemoryBenchmark
extends java.lang.Object
Constructor and Description |
---|
MemoryBenchmark() |
Modifier and Type | Method and Description |
---|---|
static double |
bytesToMegabytes(long bytes) |
static long |
getFreeMemory() |
static long |
getUsedMemory() |
static void |
printMemory(long memory,
java.lang.String msg) |