spec.harness.results
Class BenchmarkResult
java.lang.Object
spec.harness.results.TestResult
spec.harness.results.BenchmarkResult
public class BenchmarkResult
- 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 |
BenchmarkResult
public BenchmarkResult()
getLogicalName
public java.lang.String getLogicalName()
getRunName
public java.lang.String getRunName()
setNames
public void setNames(java.lang.String name)
setRunName
public void setRunName(java.lang.String name)
getArgs
public java.lang.String[] getArgs()
setArgs
public void setArgs(java.lang.String[] args)
doChecksum
public boolean doChecksum()
setChecksum
public void setChecksum(boolean checksum)
getIterationDelay
public long getIterationDelay()
setIterationDelay
public void setIterationDelay(long iterationDelay)
getIterationForcegc
public boolean getIterationForcegc()
setIterationForcegc
public void setIterationForcegc(boolean iterationForcegc)
getIterationTime
public long getIterationTime()
setIterationTime
public void setIterationTime(long iterationTime)
setIterationTime
public void setIterationTime(long iterationTime,
boolean forced)
getForcedIterationTime
public boolean getForcedIterationTime()
getWarmupTime
public long getWarmupTime()
setWarmupTime
public void setWarmupTime(long warmupTime)
getMaxIter
public int getMaxIter()
setMaxIter
public void setMaxIter(int maxIter)
getMinIter
public int getMinIter()
setMinIter
public void setMinIter(int minIter)
getNumberOfLoops
public int getNumberOfLoops()
getNumberBmThreads
public int getNumberBmThreads()
setNumberBmThreads
public void setNumberBmThreads(int numberBmThreads)
getRunMode
public int getRunMode()
setRunMode
public void setRunMode(int runMode)
getBmType
public java.lang.String getBmType()
setBmType
public void setBmType(java.lang.String bmType)
getWarmupResult
public IterationResult getWarmupResult()
setWarmupResult
public void setWarmupResult(IterationResult warmupResult)
setNumberOfLoops
public void setNumberOfLoops(int numberOfLoops)
getBenchmarkDelay
public long getBenchmarkDelay()
setBenchmarkDelay
public void setBenchmarkDelay(long benchmarkDelay)
getBenchmarkForcegc
public boolean getBenchmarkForcegc()
setBenchmarkForcegc
public void setBenchmarkForcegc(boolean benchmarkForcegc)
getIterationResults
public java.util.List getIterationResults()
addIterationResult
public void addIterationResult(IterationResult iterationResult)
getAnalyzers
public java.lang.String getAnalyzers()
setAnalyzers
public void setAnalyzers(java.lang.String analyzers)
getAnalyzerFreq
public long getAnalyzerFreq()
setAnalyzerFreq
public void setAnalyzerFreq(long analyzerFreq)
durDesc
public java.lang.String durDesc()
getScore
public double getScore()
resultString
public java.lang.String resultString()
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
headerToXml
public void headerToXml(java.io.PrintStream ps,
int indent)
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
middleToXml
public void middleToXml(java.io.PrintStream ps,
int indent)
footerToXml
public void footerToXml(java.io.PrintStream ps,
int indent)