com.google.caliper
Class ScenarioResult

java.lang.Object
  extended by 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

Constructor Summary
ScenarioResult(MeasurementSet timeMeasurementSet, String timeEventLog, MeasurementSet instanceMeasurementSet, String instanceEventLog, MeasurementSet memoryMeasurementSet, String memoryEventLog)
           
 
Method Summary
 boolean equals(Object o)
           
 String getEventLog(MeasurementType type)
           
 MeasurementSet getMeasurementSet(MeasurementType type)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScenarioResult

public ScenarioResult(MeasurementSet timeMeasurementSet,
                      String timeEventLog,
                      MeasurementSet instanceMeasurementSet,
                      String instanceEventLog,
                      MeasurementSet memoryMeasurementSet,
                      String memoryEventLog)
Method Detail

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.