|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jperfprobe.Result
public class Result
Class Result. A Result contains the statistics. All calculations are done in this class. There can be multiple probes in a Result identified by the Probes threadname.
Method Summary | |
---|---|
void |
addSample(long time)
Add a sample to the probe, and recalculate the average & min/max values. |
void |
clear()
Clear the map of probes and all values (max, min, samples, average...) all the probes will be removed |
void |
disable()
|
void |
enable()
|
double |
getAverage()
|
long |
getLastSample()
Get the last sample from the probe |
double |
getMax()
|
double |
getMin()
|
String |
getName()
|
int |
getNSamples()
|
long[] |
getSamples()
|
Probe |
getSingleProbe()
Get the singleprobe, there is then only one instance of a probe |
double |
getStdev()
Get the sample standard deviation |
long |
getTotal()
|
void |
setSingleProbe(Probe singleProbe)
|
String |
toString()
Get all info from result to string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public long[] getSamples()
public int getNSamples()
public double getMax()
public double getMin()
public double getAverage()
public double getStdev()
public void clear()
public void disable()
public void enable()
public String getName()
public void addSample(long time)
time
- sample to addpublic Probe getSingleProbe()
public void setSingleProbe(Probe singleProbe)
public long getLastSample()
public long getTotal()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |