public class PlannerBenchmarkRunner extends Object implements PlannerBenchmark
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
protected org.slf4j.Logger |
singleBenchmarkRunnerExceptionLogger |
Constructor and Description |
---|
PlannerBenchmarkRunner(PlannerBenchmarkResult plannerBenchmarkResult) |
PlannerBenchmarkRunner(PlannerBenchmarkResult plannerBenchmarkResult,
SolverConfigContext solverConfigContext) |
Modifier and Type | Method and Description |
---|---|
void |
benchmark()
Run all the single benchmarks and create a report.
|
void |
benchmarkingEnded() |
void |
benchmarkingStarted() |
long |
calculateTimeMillisSpent() |
File |
getBenchmarkDirectory() |
BenchmarkReport |
getBenchmarkReport() |
PlannerBenchmarkResult |
getPlannerBenchmarkResult() |
protected void |
runSingleBenchmarks() |
void |
setBenchmarkDirectory(File benchmarkDirectory) |
void |
setBenchmarkReport(BenchmarkReport benchmarkReport) |
protected final transient org.slf4j.Logger logger
protected final transient org.slf4j.Logger singleBenchmarkRunnerExceptionLogger
public PlannerBenchmarkRunner(PlannerBenchmarkResult plannerBenchmarkResult)
public PlannerBenchmarkRunner(PlannerBenchmarkResult plannerBenchmarkResult, SolverConfigContext solverConfigContext)
public PlannerBenchmarkResult getPlannerBenchmarkResult()
public File getBenchmarkDirectory()
public void setBenchmarkDirectory(File benchmarkDirectory)
public BenchmarkReport getBenchmarkReport()
public void setBenchmarkReport(BenchmarkReport benchmarkReport)
public void benchmark()
PlannerBenchmark
benchmark
in interface PlannerBenchmark
public void benchmarkingStarted()
protected void runSingleBenchmarks()
public void benchmarkingEnded()
public long calculateTimeMillisSpent()
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.