public class PerformanceTestResultImpl extends Object implements PerformanceTestResult
Constructor and Description |
---|
PerformanceTestResultImpl() |
public int getNumberOfProcessedCharacters()
getNumberOfProcessedCharacters
in interface PerformanceTestResult
public void setNumberOfCharacters(int numberOfCharacters)
numberOfCharacters
- The number of characters.public int getNumberOfProcessedFiles()
getNumberOfProcessedFiles
in interface PerformanceTestResult
public void setNumberOfFiles(int numberOfFiles)
numberOfFiles
- The number of files.public String getUIMADatapath()
getUIMADatapath
in interface PerformanceTestResult
public void setDatapath(String datapath)
datapath
- The UIMA datapath.public TimeSpan getAeInitTime()
getAeInitTime
in interface PerformanceTestResult
public void setInitTime(TimeSpan initTime)
initTime
- The analysis engine init time.public TimeSpan getFileIoTime()
getFileIoTime
in interface PerformanceTestResult
public void setIoTime(TimeSpan ioTime)
ioTime
- The file io time to set.public int getNumberOfCreatedAnnotations()
getNumberOfCreatedAnnotations
in interface PerformanceTestResult
public void setNumberOfCreatedAnnotations(int numberOfCreatedAnnotations)
numberOfCreatedAnnotations
- The number of created annotations to set.public int getNumberOfRepeatedRuns()
getNumberOfRepeatedRuns
in interface PerformanceTestResult
public void setNumsToRun(int numsToRun)
numsToRun
- The number of repeated runs.public TimeSpan getOverallTime()
getOverallTime
in interface PerformanceTestResult
public void setOverallTime(TimeSpan overallTime)
overallTime
- The overall processing time.public TimeSpan getAeProcessingTime()
getAeProcessingTime
in interface PerformanceTestResult
public void setProcessingTime(TimeSpan processingTime)
processingTime
- The analysis engine processing time.public boolean isRepeatSingleMode()
isRepeatSingleMode
in interface PerformanceTestResult
public void setRepeatSingleMode(boolean repeatSingleMode)
repeatSingleMode
- The repeat single mode settingpublic String getAeDescFilePath()
getAeDescFilePath
in interface PerformanceTestResult
public void setAeDescFilePath(File aeDescFile)
aeDescFile
- The analysis engine descriptor file.public String getTestFileDirectoryPath()
getTestFileDirectoryPath
in interface PerformanceTestResult
public void setTestFileDir(File testFileDir)
testFileDir
- The test file directory.public TimeSpan getAeWarmupTime()
getAeWarmupTime
in interface PerformanceTestResult
public void setWarmupTime(TimeSpan warmupTime)
warmupTime
- The analysis engine warmup time.public boolean isDoAeWarmup()
isDoAeWarmup
in interface PerformanceTestResult
public void setDoWarmup(boolean doWarmup)
doWarmup
- the doWarmup settingpublic String toString()
toString
in class Object
Object.toString()
public void writePerfResultsAsColumn(String level, File file) throws Exception
writePerfResultsAsColumn
in interface PerformanceTestResult
level
- Test level name of the performance testfile
- Output file where the results are written toException
- passthrupublic TimeSpan getAeCleanupTime()
getAeCleanupTime
in interface PerformanceTestResult
public void setCleanupTime(TimeSpan cleanupTime)
cleanupTime
- the analysis engine cleanup timepublic TimeSpan getDocumentPreparationTime()
getDocumentPreparationTime
in interface PerformanceTestResult
public void setDocumentPreparationTime(TimeSpan documentPreparationTime)
documentPreparationTime
- the document preparation timepublic long getProcessedFileSize()
getProcessedFileSize
in interface PerformanceTestResult
public void setTotalFileSize(long collectionFileSize)
collectionFileSize
- the collection file sizeCopyright © 2014. All rights reserved.