com.google.caliper
Class Measurement
java.lang.Object
com.google.caliper.Measurement
- All Implemented Interfaces:
- Serializable
public final class Measurement
- extends Object
- implements Serializable
Represents a measurement of a single run of a benchmark.
- See Also:
- Serialized Form
SORT_BY_NANOS
public static final Comparator<Measurement> SORT_BY_NANOS
SORT_BY_UNITS
public static final Comparator<Measurement> SORT_BY_UNITS
Measurement
public Measurement(Map<String,Integer> unitNames,
double raw,
double processed)
getUnitNames
public Map<String,Integer> getUnitNames()
getRaw
public double getRaw()
getProcessed
public double getProcessed()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.