public final class SystemState
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static SystemState |
currentTimeAfterGc() |
static SystemState |
currentTimeBeforeGc() |
long |
getMemoryUsageInB() |
long |
getMemoryUsageInKB() |
long |
getTimeInMillis() |
static long |
memoryUsageInByte() |
SystemState |
minus(SystemState other) |
static void |
printStates(java.util.List<SystemState> states) |
static void |
printStatesTo(java.util.List<SystemState> states,
java.io.PrintStream stream) |
void |
printTo(java.io.PrintStream stream) |
void |
printToStdOut() |
public static SystemState currentTimeAfterGc()
public static SystemState currentTimeBeforeGc()
public static long memoryUsageInByte()
public SystemState minus(SystemState other)
public void printTo(java.io.PrintStream stream)
public void printToStdOut()
public long getMemoryUsageInKB()
public long getMemoryUsageInB()
public long getTimeInMillis()
public static void printStates(java.util.List<SystemState> states)
public static void printStatesTo(java.util.List<SystemState> states, java.io.PrintStream stream)