com.google.gwt.benchmarks.client.impl
Class Trial

java.lang.Object
  extended by com.google.gwt.benchmarks.client.impl.Trial
All Implemented Interfaces:
IsSerializable

public class Trial
extends java.lang.Object
implements IsSerializable

The result of a single trial-run of a single benchmark method. Each Trial contains the results of running a benchmark method with one set of values for its parameters. TestResults for a method will contain Trials for all permutations of the parameter values. For test methods without parameters, there is only 1 trial result.


Constructor Summary
Trial()
           
 
Method Summary
 double getRunTimeMillis()
           
 java.util.Map<java.lang.String,java.lang.String> getVariables()
          Returns the names and values of the variables used in the test.
 void setRunTimeMillis(double runTimeMillis)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Trial

public Trial()
Method Detail

getRunTimeMillis

public double getRunTimeMillis()

getVariables

public java.util.Map<java.lang.String,java.lang.String> getVariables()
Returns the names and values of the variables used in the test. If there were no variables, the map is empty.


setRunTimeMillis

public void setRunTimeMillis(double runTimeMillis)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object