| |
|
| java.lang.Object bak.pcj.benchmark.ResultCollector
ResultCollector | public class ResultCollector (Code) | | This class represents a collector of benchmark results. The purpose
of the class is to collect results from different benchmarks in
one report. This class may be run from the command line.
author: Søren Bak version: 1.0 2003/5/1 since: 1.0 |
Constructor Summary | |
public | ResultCollector(Report report) Creates a new result collector on a specified report. | public | ResultCollector() Creates a new result collector on a new report. |
Method Summary | |
public void | collect(Reader in) Collects the results of a report from a specified reader. | public void | collect(String filename) Collects the results of a report from a specified file. | public Report | getReport() Returns the report in which the results are collected. | public static void | main(String[] args) Runs a result collector on a set of files and formats a report as HTML. |
ResultCollector | public ResultCollector(Report report)(Code) | | Creates a new result collector on a specified report.
All collected results will be added to the report.
Parameters: report - the report in which to collect the results. throws: NullPointerException - if report is null. |
ResultCollector | public ResultCollector()(Code) | | Creates a new result collector on a new report.
|
getReport | public Report getReport()(Code) | | Returns the report in which the results are collected.
the report in which the results are collected. |
main | public static void main(String[] args)(Code) | | Runs a result collector on a set of files and formats a report as HTML.
The first argument is the name of a file on which to write the report.
The second argument is a title for the report.
The following arguments are names of result files as output by reports.
Parameters: args - as specified above. |
|
|
|