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 Detail

      • threads

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

        protected boolean print_details
      • enabled

        protected boolean enabled
    • Constructor Detail

      • Profiler

        public Profiler()
    • Method Detail

      • details

        public boolean details()
      • details

        public Profiler details​(boolean d)
      • enabled

        public boolean enabled()
      • enable

        public Profiler enable​(boolean b)
      • 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