More information: http://www.cs.berkeley.edu/~mdw/proj/seda/

seda.util
Class StatsGatherer

java.lang.Object
  |
  +--seda.util.StatsGatherer

public class StatsGatherer
extends java.lang.Object


Field Summary
 double cumulativeVal
           
 double maxVal
           
 double minVal
           
 int num
           
 
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)
           
 
Method Summary
 void add(double val)
           
static void dumpAll()
           
 void dumpHistogram()
           
static StatsGatherer lookup(java.lang.String name)
           
static java.util.Enumeration lookupAll()
           
 double max()
           
 double mean()
           
 double min()
           
 int num()
           
 double percentile(double pct)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

num

public int num

maxVal

public double maxVal

minVal

public double minVal

cumulativeVal

public double cumulativeVal
Constructor Detail

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)
Method Detail

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)

More information: http://www.cs.berkeley.edu/~mdw/proj/seda/