org.apache.lucene.benchmark.byTask.stats

Class Points


public class Points
extends Object

Test run data points collected as the test proceeds.

Constructor Summary

Points(Config config)
Create a Points statistics object.

Method Summary

void
clearData()
Clear all data, prepare for more tests.
void
markTaskEnd(TaskStats stats, int count)
mark the end of a task
TaskStats
markTaskStart(PerfTask task, int round)
Mark that a task is starting.
Report
reportAll()
Report detailed statistics as a string
Report
reportSelectByPrefix(String prefix)
Report
reportSumByName()
Report statistics as a string, aggregate for tasks named the same.
Report
reportSumByNameRound()
Report statistics as a string, aggregate for tasks named the same, and from the same round.
Report
reportSumByPrefix(String prefix)
Report
reportSumByPrefixRound(String prefix)

Constructor Details

Points

public Points(Config config)
Create a Points statistics object.

Method Details

clearData

public void clearData()
Clear all data, prepare for more tests.

markTaskEnd

public void markTaskEnd(TaskStats stats,
                        int count)
mark the end of a task

markTaskStart

public TaskStats markTaskStart(PerfTask task,
                               int round)
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.

reportAll

public Report reportAll()
Report detailed statistics as a string
Returns:
the report

reportSelectByPrefix

public Report reportSelectByPrefix(String prefix)

reportSumByName

public Report reportSumByName()
Report statistics as a string, aggregate for tasks named the same.
Returns:
the report

reportSumByNameRound

public Report reportSumByNameRound()
Report statistics as a string, aggregate for tasks named the same, and from the same round.
Returns:
the report

reportSumByPrefix

public Report reportSumByPrefix(String prefix)

reportSumByPrefixRound

public Report reportSumByPrefixRound(String prefix)

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.