spec.harness.results
Class BenchmarkResult

java.lang.Object
  extended by spec.harness.results.TestResult
      extended by spec.harness.results.BenchmarkResult

public class BenchmarkResult
extends TestResult


Field Summary
 
Fields inherited from class spec.harness.results.TestResult
errors, ITER, TAB, TIMED, XML_HEADER
 
Constructor Summary
BenchmarkResult()
           
 
Method Summary
 void addIterationResult(IterationResult iterationResult)
           
 boolean doChecksum()
           
 java.lang.String durDesc()
           
 void footerToXml(java.io.PrintStream ps, int indent)
           
 java.util.List<java.lang.String> getAllErrors(java.lang.String tag)
           
 long getAnalyzerFreq()
           
 java.lang.String getAnalyzers()
           
 java.lang.String[] getArgs()
           
 long getBenchmarkDelay()
           
 boolean getBenchmarkForcegc()
           
 java.lang.String getBmType()
           
 boolean getForcedIterationTime()
           
 long getIterationDelay()
           
 boolean getIterationForcegc()
           
 java.util.List getIterationResults()
           
 long getIterationTime()
           
 java.lang.String getLogicalName()
           
 int getMaxIter()
           
 int getMinIter()
           
 int getNumberBmThreads()
           
 int getNumberOfLoops()
           
 int getRunMode()
           
 java.lang.String getRunName()
           
 double getScore()
           
 IterationResult getWarmupResult()
           
 long getWarmupTime()
           
 void headerToXml(java.io.PrintStream ps, int indent)
           
 boolean isValid()
          Check if result is valid.
 void middleToXml(java.io.PrintStream ps, int indent)
           
 java.lang.String resultString()
           
 void setAnalyzerFreq(long analyzerFreq)
           
 void setAnalyzers(java.lang.String analyzers)
           
 void setArgs(java.lang.String[] args)
           
 void setBenchmarkDelay(long benchmarkDelay)
           
 void setBenchmarkForcegc(boolean benchmarkForcegc)
           
 void setBmType(java.lang.String bmType)
           
 void setChecksum(boolean checksum)
           
 void setIterationDelay(long iterationDelay)
           
 void setIterationForcegc(boolean iterationForcegc)
           
 void setIterationTime(long iterationTime)
           
 void setIterationTime(long iterationTime, boolean forced)
           
 void setMaxIter(int maxIter)
           
 void setMinIter(int minIter)
           
 void setNames(java.lang.String name)
           
 void setNumberBmThreads(int numberBmThreads)
           
 void setNumberOfLoops(int numberOfLoops)
           
 void setRunMode(int runMode)
           
 void setRunName(java.lang.String name)
           
 void setWarmupResult(IterationResult warmupResult)
           
 void setWarmupTime(long warmupTime)
           
 void toXml(java.io.PrintStream ps, int indent)
          Print result as xml on given string.
 
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
 

Constructor Detail

BenchmarkResult

public BenchmarkResult()
Method Detail

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)