org.apache.lucene.benchmark.byTask.stats
Class TaskStats
- Cloneable
public class TaskStats
implements Cloneable
Statistics for a task run.
The same task can run more than once, but, if that task records statistics,
each run would create its own TaskStats.
add
public void add(TaskStats stat2)
Add data from another stat, for aggregation
stat2
- the added stat data.
clone
protected Object clone()
throws CloneNotSupportedException
getCount
public int getCount()
getElapsed
public long getElapsed()
getMaxTotMem
public long getMaxTotMem()
getMaxUsedMem
public long getMaxUsedMem()
getNumParallelTasks
public int getNumParallelTasks()
- Returns the numParallelTasks.
getNumRuns
public int getNumRuns()
getTaskRunNum
public int getTaskRunNum()
toString
public String toString()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.