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