org.neuroph.util.benchmark
Class BenchmarkTaskResults
java.lang.Object
org.neuroph.util.benchmark.BenchmarkTaskResults
public class BenchmarkTaskResults
- extends Object
This class holds benchmarking results, elapsed times for all iterations and
various statistics min, max, avg times and standard deviation
- Author:
- Zoran Sevarac
BenchmarkTaskResults
public BenchmarkTaskResults(int testIterations)
getAverageTestTime
public double getAverageTestTime()
getElapsedTimes
public long[] getElapsedTimes()
getMaxTestTime
public double getMaxTestTime()
getMinTestTime
public double getMinTestTime()
getStandardDeviation
public double getStandardDeviation()
getTestIterations
public int getTestIterations()
addElapsedTime
public void addElapsedTime(long time)
calculateStatistics
public void calculateStatistics()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.