public class Points extends Object
Constructor and Description |
---|
Points(Config config)
Create a Points statistics object.
|
Modifier and Type | Method and Description |
---|---|
void |
clearData()
Clear all data, prepare for more tests.
|
TaskStats |
getCurrentStats() |
void |
markTaskEnd(TaskStats stats,
int count)
mark the end of a task
|
TaskStats |
markTaskStart(PerfTask task,
int round)
Mark that a task is starting.
|
List<TaskStats> |
taskStats()
Return the current task stats.
|
public Points(Config config)
public List<TaskStats> taskStats()
TaskStats
.public TaskStats markTaskStart(PerfTask task, int round)
task
- the starting task.public TaskStats getCurrentStats()
public void markTaskEnd(TaskStats stats, int count)
public void clearData()