| java.lang.Object bak.pcj.benchmark.Result
Result | public class Result (Code) | | This class represents results from benchmarks.
author: Søren Bak version: 1.0 2003/4/1 since: 1.0 |
Constructor Summary | |
public | Result(String benchmarkId, String dataSetId, String classId, String taskId, String taskDescription, long time) Creates a new result.
Parameters: benchmarkId - an identifier of the benchmark that produced theresult. |
Result | public Result(String benchmarkId, String dataSetId, String classId, String taskId, String taskDescription, long time)(Code) | | Creates a new result.
Parameters: benchmarkId - an identifier of the benchmark that produced theresult. Typically the class name. Parameters: dataSetId - an identifier of the data set against which the benchmark was run. Parameters: classId - an identifier of the class that is benchmarked.Typically the class name. Parameters: taskId - an identifier of the task that was measured. Typicallythe name of a method in a benchmark. Parameters: taskDescription - a description of the task. Parameters: time - the time measured for completing the task. throws: NullPointerException - if benchmarkId is null;if dataSetId is null;if classId is null;if taskId is null;if taskDescription is null. throws: IllegalArgumentException - if time is negative. |
getBenchmarkId | public String getBenchmarkId()(Code) | | Returns the benchmark identifier of this result.
the benchmark identifier of this result. |
getClassId | public String getClassId()(Code) | | Returns the class identifier of this result.
the class identifier of this result. |
getDataSetId | public String getDataSetId()(Code) | | Returns the data set identifier of this result.
the data set identifier of this result. |
getTaskDescription | public String getTaskDescription()(Code) | | Returns the description of the task of this result.
the description of the task of this result. |
getTaskId | public String getTaskId()(Code) | | Returns the task identifier of this result.
the task identifier of this result. |
getTime | public long getTime()(Code) | | Returns the time registered for this result.
the time registered for this result. |
|
|