|
PCJ API Version 1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbak.pcj.benchmark.ResultCollector
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.
| Constructor Summary | |
ResultCollector()
Creates a new result collector on a new report. |
|
ResultCollector(Report report)
Creates a new result collector on a specified report. |
|
| Method Summary | |
void |
collect(Reader in)
Collects the results of a report from a specified reader. |
void |
collect(String filename)
Collects the results of a report from a specified file. |
Report |
getReport()
Returns the report in which the results are collected. |
static void |
main(String[] args)
Runs a result collector on a set of files and formats a report as HTML. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResultCollector(Report report)
report - the report in which to collect the results.
NullPointerException - if report is null.public ResultCollector()
| Method Detail |
public void collect(Reader in)
throws IOException
in - the reader from which to collect the results.
IOExceptionReport.writeResults(Writer out),
collect(String)
public void collect(String filename)
throws IOException
filename - the name of the file from which to collect
the results.
IOExceptionReport.writeResults(Writer out),
collect(Reader)public Report getReport()
public static void main(String[] args)
args - as specified above.
|
PCJ API Version 1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||