Commit d0992143 authored by Noric Couderc's avatar Noric Couderc

Improved README

Added a section on how to use callbacks.
parent 2baec49b
......@@ -59,7 +59,14 @@ The suite is built using ant 1.10. You will need the following tools:
For more information, run `ant -p` in the benchmarks directory.
## Customization
It is possible to use callbacks to run code before a benchmark starts, when it stops, and when the run has completed.
To do so, extend the class `Callback` (see the file `harness/src/` for an example).
To run a benchmark with your callback, run:
java -jar dacapo.jar -c <callback> <benchmark>
## Source Code Structure
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment