BenchGen
BenchGen is a tool for generating benchmarks to stress-test a computing system.
|
This program parses a DSL describing an L-System, and generates benchmarks from this specification.
The only dependency is a C++ compiler. Here are some suggestions:
Compiler | Link |
---|---|
clang | llvm.org |
gcc | gnu.org |
If you wish to use something other than clang++, please alter the CC
variable of the Makefile.
Compilation example:
Run the binary output with a input and output file as parameter.
Calls to the Program Generator must be done in the following format:
The available variables types are in the shared/varTypes.h
file.
We provide examples for inputs in the examples folder
. An example of execution would be:
The production rules file should have production rules of the format:
You may repeat these as many times as you wish for each production rule.
Example:
The Seed String File should contain only Valid Tokens. Other than that, these tokens can be written as the user wishes.
Example: