(.js)
laraImport("lara.benchmark.BenchmarkInstance");
(.lara)
import lara.benchmark.BenchmarkInstance;
new BenchmarkInstance(name)
Represents a set of BenchmarkInstances.
close()
Restores the AST previous to load().
compile()
Compiles the current version of the benchmark that is in the AST. Requires calling .load() first.
execute()
Executes the current version of the benchmark. Requires calling .compile() first.
getBaseFolder()
getCMaker()
getExecutor()
getKernel()
getName()
load()
Saves the current AST and loads this benchmark into the AST.
setCMakerProvider(cmakerProviderFunction)
test([worker = undefined], [executeCode = false], [outputProcessor = undefined])
Test the current instance.