com.google.caliper
Class ScenarioResult
java.lang.Object
com.google.caliper.ScenarioResult
- All Implemented Interfaces:
- Serializable
public final class ScenarioResult
- extends Object
- implements Serializable
Holds the results for a particular scenario, including timing measurements, memory use
measurements, and event logs for both, recording significant events during measurement.
WARNING: a JSON representation of this class is stored on the app engine server. If any changes
are made to this class, a deserialization adapter must be written for this class to ensure
backwards compatibility.
Gwt-safe.
- See Also:
- Serialized Form
ScenarioResult
public ScenarioResult(MeasurementSet timeMeasurementSet,
String timeEventLog,
MeasurementSet instanceMeasurementSet,
String instanceEventLog,
MeasurementSet memoryMeasurementSet,
String memoryEventLog)
getMeasurementSet
public MeasurementSet getMeasurementSet(MeasurementType type)
getEventLog
public String getEventLog(MeasurementType type)
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.