org.eclipse.modisco.infra.discovery.benchmark.api
Interface IDiscovererBenchmarkDiscoverer


public interface IDiscovererBenchmarkDiscoverer

Interface used by discoverers of discovery benchmarks

Author:
Guillaume Doux

Method Summary
 IDiscovererID getDiscovererID()
          Give the ID of the discoverer of discovery benchmark
 int getIterations()
          Give the number of iterations to do for each discoverer to be benchmarked
 int getMemoryPollingInterval()
          Give the interval in milliseconds between to measure of the memory usage
 boolean isGenerateHtmlReport()
          Return if the discoverer generates an HTML report of the benchmark
 boolean isMeasureMemoryUse()
          Return if the discoverer measure the memory usage
 

Method Detail

getDiscovererID

IDiscovererID getDiscovererID()
Give the ID of the discoverer of discovery benchmark

Returns:
object containing the discoverer ID

getIterations

int getIterations()
Give the number of iterations to do for each discoverer to be benchmarked

Returns:
the number of iterations

isMeasureMemoryUse

boolean isMeasureMemoryUse()
Return if the discoverer measure the memory usage

Returns:
true if the memory consumption is measured

getMemoryPollingInterval

int getMemoryPollingInterval()
Give the interval in milliseconds between to measure of the memory usage

Returns:
the time interval

isGenerateHtmlReport

boolean isGenerateHtmlReport()
Return if the discoverer generates an HTML report of the benchmark

Returns:
true if the report have to be generated