org.drools.benchmark
Class BenchmarkResult
java.lang.Object
org.drools.benchmark.BenchmarkResult
public class BenchmarkResult
- extends Object
BenchmarkResult
public BenchmarkResult(BenchmarkDefinition definition)
getDuration
public long getDuration()
setDuration
public void setDuration(long duration)
getUsedMemoryBeforeStart
public long getUsedMemoryBeforeStart()
setUsedMemoryBeforeStart
public void setUsedMemoryBeforeStart(long usedMemoryBeforeStart)
getUsedMemoryAfterEnd
public long getUsedMemoryAfterEnd()
setUsedMemoryAfterEnd
public void setUsedMemoryAfterEnd(long usedMemoryAfterEnd)
getUsedMemoryAfterGC
public long getUsedMemoryAfterGC()
setUsedMemoryAfterGC
public void setUsedMemoryAfterGC(long usedMemoryAfterGC)
memoryUsedByBenchmark
public long memoryUsedByBenchmark()
unfreedMemory
public long unfreedMemory()
getDescription
public String getDescription()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.