public class Benchmark
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
long |
cumulativeTime |
long |
currentTime |
long |
elapse |
long |
memory |
static java.lang.Runtime |
rt |
long |
transportCumulativeTime |
long |
transportCurrentTime |
long |
transportElapse |
Constructor and Description |
---|
Benchmark() |
Modifier and Type | Method and Description |
---|---|
static void |
gc() |
static long |
getCumulativeTime() |
static long |
getElapse() |
static long |
getMemoryConsumption() |
static long |
getTransportCumulativeTime() |
static long |
getTransportElapse() |
static void |
resetTime()
Deprecated.
|
static void |
resetTimer() |
static long |
showMemory() |
static void |
startMemoryMeter() |
static void |
startTimer() |
static void |
startTransportTimer() |
static void |
stopMemoryMeter() |
static void |
stopTimer() |
static void |
stopTransportTimer() |
public static final java.lang.Runtime rt
public long cumulativeTime
public long elapse
public long currentTime
public long transportCumulativeTime
public long transportElapse
public long transportCurrentTime
public long memory
public static void resetTime()
public static void resetTimer()
public static void startTimer()
public static void stopTimer()
public static long getElapse()
public static long getCumulativeTime()
public static void startTransportTimer()
public static void stopTransportTimer()
public static long getTransportElapse()
public static long getTransportCumulativeTime()
public static void startMemoryMeter()
public static void stopMemoryMeter()
public static long getMemoryConsumption()
public static long showMemory()
public static void gc()
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.