| java.lang.Object org.apache.lucene.benchmark.byTask.stats.Points
Points | public class Points (Code) | | Test run data points collected as the test proceeds.
|
Constructor Summary | |
public | Points(Config config) Create a Points statistics object. |
Method Summary | |
public void | clearData() Clear all data, prepare for more tests. | public synchronized void | markTaskEnd(TaskStats stats, int count) | public synchronized TaskStats | markTaskStart(PerfTask task, int round) Mark that a task is starting. | public List | taskStats() Return the current task stats.
the actual task stats are returned, so caller should not modify this task stats. |
Points | public Points(Config config)(Code) | | Create a Points statistics object.
|
clearData | public void clearData()(Code) | | Clear all data, prepare for more tests.
|
markTaskEnd | public synchronized void markTaskEnd(TaskStats stats, int count)(Code) | | mark the end of a task
|
markTaskStart | public synchronized TaskStats markTaskStart(PerfTask task, int round)(Code) | | Mark that a task is starting.
Create a task stats for it and store it as a point.
Parameters: task - the starting task. the new task stats created for the starting task. |
taskStats | public List taskStats()(Code) | | Return the current task stats.
the actual task stats are returned, so caller should not modify this task stats.
current TaskStats. |
|
|