Class Profiler

java.lang.Object
org.jgroups.util.Profiler

public class Profiler extends Object
Maintains averages for time values measured between start() and stop().
Since:
5.2.13
  • Field Details

    • avg

      protected final AverageMinMax avg
    • threads

      protected final Map<Thread,Long> threads
  • Constructor Details

    • Profiler

      public Profiler()
  • Method Details

    • details

      public boolean details()
    • details

      public Profiler details(boolean d)
    • reset

      public void reset()
    • start

      public void start()
    • stop

      public void stop()
    • toString

      public String toString()
      Overrides:
      toString in class Object