Class Points
Test run data points collected as the test proceeds.
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Stats
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class Points
Constructors
Points(Config)
Create a Points statistics object.
Declaration
public Points(Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| Config | config |
Properties
CurrentStats
Test run data points collected as the test proceeds.
Declaration
public virtual TaskStats CurrentStats { get; }
Property Value
| Type | Description |
|---|---|
| TaskStats |
TaskStats
Gets the current task stats. The actual task stats are returned, so caller should not modify this task stats.
Declaration
public virtual IList<TaskStats> TaskStats { get; }
Property Value
| Type | Description |
|---|---|
| IList<TaskStats> |
Methods
ClearData()
Clear all data, prepare for more tests.
Declaration
public virtual void ClearData()
MarkTaskEnd(TaskStats, int)
mark the end of a task
Declaration
public virtual void MarkTaskEnd(TaskStats stats, int count)
Parameters
| Type | Name | Description |
|---|---|---|
| TaskStats | stats | |
| int | count |
MarkTaskStart(PerfTask, int)
Mark that a task is starting. Create a task stats for it and store it as a point.
Declaration
public virtual TaskStats MarkTaskStart(PerfTask task, int round)
Parameters
| Type | Name | Description |
|---|---|---|
| PerfTask | task | The starting task. |
| int | round | The new task stats created for the starting task. |
Returns
| Type | Description |
|---|---|
| TaskStats |