org.apache.lucene.benchmark.stats
Class TestRunData
This class holds series of TimeData related to a single test run. TimeData
values may contribute to different measurements, so this class provides also
some useful methods to separate them.
- Andrzej Bialecki <ab@getopt.org>
TestRunData
public TestRunData()
TestRunData
public TestRunData(String id)
addData
public void addData(TimeData td)
Add a data point.
endRun
public void endRun()
Mark the ending time of this test run.
getData
public LinkedHashMap getData()
getEnd
public long getEnd()
getId
public String getId()
getLabels
public Collection getLabels()
Get a list of all available types of data points.
getMemUsage
public MemUsage getMemUsage(String label)
Get memory usage stats. for a given data type.
getStart
public long getStart()
getTotals
public Vector getTotals()
Get total values from all data points of all types.
- a list of TimeData values for all types.
getTotals
public TimeData getTotals(String label)
Get total values from all data points of a given type.
setId
public void setId(String id)
startRun
public void startRun()
Mark the starting time of this test run.
toString
public String toString()
Return a string representation.
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.