public class Sunflow
extends org.dacapo.harness.Benchmark
| Constructor and Description |
|---|
Sunflow(org.dacapo.parser.Config config,
java.io.File scratch) |
| Modifier and Type | Method and Description |
|---|---|
void |
iterate(java.lang.String size)
Perform a single iteration of the benchmark.
|
void |
preIteration(java.lang.String size)
Code to execute prior to each iteration OUTSIDE the timing loop.
|
protected void |
prepare()
Do one-time prep such as unziping data.
|
boolean |
validate(java.lang.String size)
Validate the output of the benchmark, OUTSIDE the timing loop.
|
augmentSystemProperties, byteCount, cleanup, deleteFile, deleteTree, extractFileResource, fileInScratch, getIteration, getPreserve, getSilent, getURL, getValidate, getValidateOutput, getVerbose, lineCount, postIteration, postIterationCleanup, prepare, revertClassLoader, run, setCommandLineOptions, startIteration, stopIteration, unpackZipFileResource, useBenchmarkClassLoaderpublic Sunflow(org.dacapo.parser.Config config,
java.io.File scratch)
throws java.lang.Exception
java.lang.Exceptionprotected void prepare()
prepare in class org.dacapo.harness.Benchmarkpublic void preIteration(java.lang.String size)
throws java.lang.Exception
preIteration in class org.dacapo.harness.Benchmarksize - The "size" of the iteration (small, default, large)java.lang.Exceptionpublic void iterate(java.lang.String size)
throws java.lang.Exception
iterate in class org.dacapo.harness.Benchmarksize - The "size" of the iteration (small, default, large)java.lang.Exceptionpublic boolean validate(java.lang.String size)
validate in class org.dacapo.harness.Benchmarksize - The "size" of the iteration (small, default, large)