|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neuroph.util.benchmark.Benchmark
public class Benchmark
This class is main benchmark driver. It holds collection of benchmarking tasks and provides benchmarking workflow.
Constructor Summary | |
---|---|
Benchmark()
Creates a new Benchmark instance |
Method Summary | |
---|---|
void |
addTask(BenchmarkTask task)
Adds specified benchmark task |
void |
run()
Runs all benchmark tasks |
static void |
runTask(BenchmarkTask task)
Runs specified benchmark tasks, the basic benchmarking workflow. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Benchmark()
Method Detail |
---|
public void addTask(BenchmarkTask task)
task
- benchmark taskpublic static void runTask(BenchmarkTask task)
task
- public void run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |