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