spec.harness.results
Class IterationResult
java.lang.Object
spec.harness.results.TestResult
spec.harness.results.IterationResult
public class IterationResult
- extends TestResult
Methods inherited from class spec.harness.results.TestResult |
addError, correctContent, doubleAsRes, getErrors, getIndent, getRunModeDescription, hasErrors, millisAsSec, printErrorsToXml, ptxAttrib, ptxAttrib, ptxAttrib, ptxAttrib, ptxAttrib, ptxElement, ptxElementClose, ptxElementOpen, ptxElementStartOpen, ptxXmlHeader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IterationResult
public IterationResult()
setBenchmarkResult
public void setBenchmarkResult(BenchmarkResult bmResult)
getBenchmarkResult
public BenchmarkResult getBenchmarkResult()
getExpectedDuration
public long getExpectedDuration()
setExpectedDuration
public void setExpectedDuration(long expectedDuration)
abortRun
public void abortRun()
continueToRun
public boolean continueToRun()
getExpectedLoops
public long getExpectedLoops()
setExpectedLoops
public void setExpectedLoops(long expectedLoops)
getEndTime
public long getEndTime()
setEndTime
public void setEndTime(long endTime)
getStartTime
public long getStartTime()
setStartTime
public void setStartTime(long startTime)
getStopTime
public long getStopTime()
setStopTime
public void setStopTime(long stopTime)
setStartupTest
public void setStartupTest(boolean isStartup)
getStartupTest
public boolean getStartupTest()
getOperations
public double getOperations()
incOperations
public void incOperations(double operations)
getIteration
public int getIteration()
setIteration
public void setIteration(int iteration)
getLoopResults
public java.util.List getLoopResults()
addLoopResults
public void addLoopResults(LoopResult loopResults)
getNumberBmThreadsDone
public int getNumberBmThreadsDone()
incNumberBmThreadsDone
public boolean incNumberBmThreadsDone()
- Flag that this benchmark thread is done with it's workload that is within
the measurement interval.
- Returns:
- If this was the last thread to check in.
getDuration
public long getDuration()
getAnalyzers
public java.util.List getAnalyzers()
addAnalyzer
public void addAnalyzer(TYInfo tyi)
addAnalyzerSummary
public void addAnalyzerSummary(AnalyzerResult aResult)
getAnalyzerSummaries
public java.util.Iterator<AnalyzerResult> getAnalyzerSummaries()
durDesc
public java.lang.String durDesc()
- Describe ops or time, for this iteration
- Returns:
- String that describes in a human preferred format how long this run is.
resultString
public java.lang.String resultString(java.lang.String testType)
getScore
public double getScore()
- Returns:
- Score, in operations/min.
isValid
public boolean isValid()
- Description copied from class:
TestResult
- Check if result is valid.
- Specified by:
isValid
in class TestResult
getAllErrors
public java.util.List<java.lang.String> getAllErrors(java.lang.String tag)
- Specified by:
getAllErrors
in class TestResult
toXml
public void toXml(java.io.PrintStream ps,
int indent)
- Description copied from class:
TestResult
- Print result as xml on given string.
- Specified by:
toXml
in class TestResult