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
print_details
protected java.util.Map<java.lang.Thread,java.lang.Long>
threads
-
Constructor Summary
Constructors Constructor Description Profiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
details()
Profiler
details(boolean d)
void
reset()
void
start()
void
stop()
java.lang.String
toString()
-
-
-
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
-
-
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 classjava.lang.Object
-
-