|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.caliper.MeasurementSet
public final class MeasurementSet
A collection of measurements of the same scenario.
Constructor Summary | |
---|---|
MeasurementSet(Measurement... measurements)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
List<Measurement> |
getMeasurements()
|
List<Double> |
getMeasurementsRaw()
|
List<Double> |
getMeasurementUnits()
|
int |
getSystemErrCharCount()
|
int |
getSystemOutCharCount()
|
Map<String,Integer> |
getUnitNames()
|
Map<String,Integer> |
getUnitNames(Map<String,Integer> defaultValue)
This is the same as getUnitNames(), but is for backwards compatibility on the server when null pointer exceptions need to be avoided. |
int |
hashCode()
|
double |
maxRaw()
|
double |
maxUnits()
|
double |
meanRaw()
Returns the average measurement with respect to raw units. |
double |
meanUnits()
Returns the average measurement with respect to user-defined units. |
double |
medianRaw()
Returns the median measurement, with respect to raw units. |
double |
medianUnits()
Returns the median measurement, with respect to user-defined units. |
double |
minRaw()
|
double |
minUnits()
|
MeasurementSet |
plusCharCounts(int systemOutCharCount,
int systemErrCharCount)
|
MeasurementSet |
plusMeasurement(Measurement measurement)
Returns a new measurement set that contains the measurements in this set plus the given additional measurement. |
int |
size()
|
double |
standardDeviationRaw()
|
double |
standardDeviationUnits()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MeasurementSet(Measurement... measurements)
Method Detail |
---|
public Map<String,Integer> getUnitNames(Map<String,Integer> defaultValue)
public Map<String,Integer> getUnitNames()
public List<Measurement> getMeasurements()
public int size()
public int getSystemOutCharCount()
public int getSystemErrCharCount()
public List<Double> getMeasurementsRaw()
public List<Double> getMeasurementUnits()
public double medianRaw()
public double medianUnits()
public double meanRaw()
public double meanUnits()
public double standardDeviationRaw()
public double standardDeviationUnits()
public double minRaw()
public double minUnits()
public double maxRaw()
public double maxUnits()
public MeasurementSet plusMeasurement(Measurement measurement)
public MeasurementSet plusCharCounts(int systemOutCharCount, int systemErrCharCount)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |