org.objectweb.proactive.benchmarks.timit.result
Class SerieResultWriter
java.lang.Object
org.objectweb.proactive.benchmarks.timit.result.SerieResultWriter
public class SerieResultWriter
- extends java.lang.Object
This class generate final serie result file from generated benchmark
statistics result file. Generated file will be an XML file
- Author:
- Brian Amedro, Vladimir Bodnartchouk
Constructor Summary |
SerieResultWriter(java.lang.String filename)
Construct a new SerieResultWriter from his filename |
Method Summary |
void |
addResult(org.jdom.Element bResults,
java.lang.String name,
int runs,
int totalTimeoutErrors)
Add a new result to write to the file. |
org.jdom.Element |
getRoot()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerieResultWriter
public SerieResultWriter(java.lang.String filename)
- Construct a new SerieResultWriter from his filename
- Parameters:
filename
- the name of the file to create
getRoot
public org.jdom.Element getRoot()
- Returns:
- the root Element of the XML result file
addResult
public void addResult(org.jdom.Element bResults,
java.lang.String name,
int runs,
int totalTimeoutErrors)
- Add a new result to write to the file. Output file is updated every time
you invoke this method.
- Parameters:
bResults
- the root Element of XML benchmark result filename
- the name of the current serie executionruns
- the number of runs for this benchmark statistics resulttotalTimeoutErrors
- the total number of timeout errors which occured
during the serie run
Copyright 2001-2007 INRIA All Rights Reserved.