org.sblim.wbem.util
Class Benchmark

java.lang.Object
  extended by 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
 long cumulativeTime
           
 long currentTime
           
 long elapse
           
 long memory
           
static java.lang.Runtime rt
           
 long transportCumulativeTime
           
 long transportCurrentTime
           
 long transportElapse
           
 
Constructor Summary
Benchmark()
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

Benchmark

public Benchmark()
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()


Copyright © 2005, 2008 IBM Corporation. All Rights Reserved.