seda.util
Class StatsGatherer
java.lang.Object
seda.util.StatsGatherer
public class StatsGatherer
- extends java.lang.Object
Constructor Summary |
StatsGatherer(java.lang.String name,
java.lang.String tag,
int bucketSize)
|
StatsGatherer(java.lang.String name,
java.lang.String tag,
int bucketSize,
int skipSamples)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
num
public int num
maxVal
public double maxVal
minVal
public double minVal
cumulativeVal
public double cumulativeVal
StatsGatherer
public StatsGatherer(java.lang.String name,
java.lang.String tag,
int bucketSize,
int skipSamples)
StatsGatherer
public StatsGatherer(java.lang.String name,
java.lang.String tag,
int bucketSize)
lookup
public static StatsGatherer lookup(java.lang.String name)
lookupAll
public static java.util.Enumeration lookupAll()
dumpAll
public static void dumpAll()
reset
public void reset()
add
public void add(double val)
dumpHistogram
public void dumpHistogram()
num
public int num()
mean
public double mean()
min
public double min()
max
public double max()
percentile
public double percentile(double pct)