Package org.sblim.wbem.util
Class Benchmark
- java.lang.Object
-
- org.sblim.wbem.util.Benchmark
-
public class Benchmark extends java.lang.Object
- Author:
- Administrator To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
-
-
Field Summary
Fields Modifier and Type Field Description long
cumulativeTime
long
currentTime
long
elapse
long
memory
static java.lang.Runtime
rt
long
transportCumulativeTime
long
transportCurrentTime
long
transportElapse
-
Constructor Summary
Constructors Constructor Description Benchmark()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
rt
public static final java.lang.Runtime rt
-
cumulativeTime
public long cumulativeTime
-
elapse
public long elapse
-
currentTime
public long currentTime
-
transportCumulativeTime
public long transportCumulativeTime
-
transportElapse
public long transportElapse
-
transportCurrentTime
public long transportCurrentTime
-
memory
public long memory
-
-
Method Detail
-
resetTime
public static void resetTime()
Deprecated.
-
resetTimer
public static void resetTimer()
-
startTimer
public static void startTimer()
-
stopTimer
public static void stopTimer()
-
getElapse
public static long getElapse()
-
getCumulativeTime
public static long getCumulativeTime()
-
startTransportTimer
public static void startTransportTimer()
-
stopTransportTimer
public static void stopTransportTimer()
-
getTransportElapse
public static long getTransportElapse()
-
getTransportCumulativeTime
public static long getTransportCumulativeTime()
-
startMemoryMeter
public static void startMemoryMeter()
-
stopMemoryMeter
public static void stopMemoryMeter()
-
getMemoryConsumption
public static long getMemoryConsumption()
-
showMemory
public static long showMemory()
-
gc
public static void gc()
-
-