| java.lang.Object org.apache.lucene.benchmark.byTask.stats.TaskStats
TaskStats | public class TaskStats implements Cloneable(Code) | | 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.
|
Constructor Summary | |
| TaskStats(PerfTask task, int taskRunNum, int round) Create a run data for a task that is starting now. |
TaskStats | TaskStats(PerfTask task, int taskRunNum, int round)(Code) | | Create a run data for a task that is starting now.
To be called from Points.
|
add | public void add(TaskStats stat2)(Code) | | Add data from another stat, for aggregation
Parameters: stat2 - the added stat data. |
getCount | public int getCount()(Code) | | Returns the count. |
getElapsed | public long getElapsed()(Code) | | elapsed time. |
getMaxTotMem | public long getMaxTotMem()(Code) | | Returns the maxTotMem. |
getMaxUsedMem | public long getMaxUsedMem()(Code) | | Returns the maxUsedMem. |
getNumParallelTasks | public int getNumParallelTasks()(Code) | | Returns the numParallelTasks. |
getNumRuns | public int getNumRuns()(Code) | | Returns the numRuns. |
getRound | public int getRound()(Code) | | the round number. |
getTaskRunNum | public int getTaskRunNum()(Code) | | the taskRunNum. |
markEnd | void markEnd(int numParallelTasks, int count)(Code) | | mark the end of a task
|
|
|