Class Benchmark

java.lang.Object
org.sblim.wbem.util.Benchmark

public class Benchmark extends Object
Author:
Administrator To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
  • Field Details

    • rt

      public static final 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 Details

    • Benchmark

      public Benchmark()
  • Method Details

    • 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()