Class Profiler


  • public class Profiler
    extends java.lang.Object
    Maintains averages for time values measured between start() and stop().
    Since:
    5.2.13
    Author:
    Bela Ban
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected AverageMinMax avg  
      protected boolean print_details  
      protected java.util.Map<java.lang.Thread,​java.lang.Long> threads  
    • Constructor Summary

      Constructors 
      Constructor Description
      Profiler()  
    • Field Detail

      • threads

        protected final java.util.Map<java.lang.Thread,​java.lang.Long> threads
      • print_details

        protected boolean print_details
    • Constructor Detail

      • Profiler

        public Profiler()
    • Method Detail

      • details

        public boolean details()
      • details

        public Profiler details​(boolean d)
      • reset

        public void reset()
      • start

        public void start()
      • stop

        public void stop()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object