public class Tomcat
extends org.dacapo.harness.Benchmark
| Constructor and Description |
|---|
Tomcat(org.dacapo.parser.Config config,
java.io.File scratch)
Benchmark constructor - invoked reflectively by the harness.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
iterate(java.lang.String size)
An iteration of the benchmark - runs in the benchmark classloader
|
void |
postIteration(java.lang.String size)
After each iteration, delete the output files
|
protected void |
postIterationCleanup(java.lang.String size) |
void |
prepare(java.lang.String size)
One-off setup
|
augmentSystemProperties, byteCount, deleteFile, deleteTree, extractFileResource, fileInScratch, getIteration, getPreserve, getSilent, getURL, getValidate, getValidateOutput, getVerbose, lineCount, preIteration, prepare, revertClassLoader, run, setCommandLineOptions, startIteration, stopIteration, unpackZipFileResource, useBenchmarkClassLoader, validatepublic Tomcat(org.dacapo.parser.Config config,
java.io.File scratch)
throws java.lang.Exception
config - Benchmark configuration objectscratch - Scratch directoryjava.lang.Exception - When something goes wrongpublic void prepare(java.lang.String size)
throws java.lang.Exception
prepare in class org.dacapo.harness.Benchmarkjava.lang.Exceptionpublic void postIteration(java.lang.String size)
throws java.lang.Exception
postIteration in class org.dacapo.harness.Benchmarkjava.lang.Exceptionpublic void iterate(java.lang.String size)
throws java.lang.Exception
iterate in class org.dacapo.harness.Benchmarkjava.lang.Exceptionprotected void postIterationCleanup(java.lang.String size)
postIterationCleanup in class org.dacapo.harness.Benchmarkpublic void cleanup()
cleanup in class org.dacapo.harness.BenchmarkBenchmark.cleanup()