Class TaskStats
- java.lang.Object
-
- org.apache.lucene.benchmark.byTask.stats.TaskStats
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(TaskStats stat2)
Add data from another stat, for aggregationTaskStats
clone()
int
getCount()
int[]
getCountsByTime()
long
getCountsByTimeStepMSec()
long
getElapsed()
long
getMaxTotMem()
long
getMaxUsedMem()
int
getNumParallelTasks()
int
getNumRuns()
int
getRound()
PerfTask
getTask()
int
getTaskRunNum()
void
setCountsByTime(int[] counts, long msecStep)
String
toString()
-
-
-
Method Detail
-
setCountsByTime
public void setCountsByTime(int[] counts, long msecStep)
-
getCountsByTime
public int[] getCountsByTime()
-
getCountsByTimeStepMSec
public long getCountsByTimeStepMSec()
-
getTaskRunNum
public int getTaskRunNum()
- Returns:
- the taskRunNum.
-
getCount
public int getCount()
- Returns:
- Returns the count.
-
getElapsed
public long getElapsed()
- Returns:
- elapsed time.
-
getMaxTotMem
public long getMaxTotMem()
- Returns:
- Returns the maxTotMem.
-
getMaxUsedMem
public long getMaxUsedMem()
- Returns:
- Returns the maxUsedMem.
-
getNumParallelTasks
public int getNumParallelTasks()
- Returns:
- Returns the numParallelTasks.
-
getTask
public PerfTask getTask()
- Returns:
- Returns the task.
-
getNumRuns
public int getNumRuns()
- Returns:
- Returns the numRuns.
-
add
public void add(TaskStats stat2)
Add data from another stat, for aggregation- Parameters:
stat2
- the added stat data.
-
clone
public TaskStats clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
getRound
public int getRound()
- Returns:
- the round number.
-
-