Package org.jgroups.util
Class Profiler
- java.lang.Object
-
- org.jgroups.util.Profiler
-
public class Profiler extends java.lang.Object
- Since:
- 5.2.13
- Author:
- Bela Ban
-
-
Field Summary
Fields Modifier and Type Field Description protected AverageMinMax
avg
protected boolean
enabled
protected boolean
print_details
protected java.util.Map<java.lang.Thread,java.lang.Long>
threads
-
Constructor Summary
Constructors Constructor Description Profiler()
-
-
-
Field Detail
-
avg
protected final AverageMinMax avg
-
threads
protected final java.util.Map<java.lang.Thread,java.lang.Long> threads
-
print_details
protected boolean print_details
-
enabled
protected boolean enabled
-
-
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 classjava.lang.Object
-
-