Class TaskStats
Statistics for a task run.
The same task can run more than once, but, if that task records statistics, each run would create its own TaskStats.Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Stats
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class TaskStats
Properties
Count
Gets the count.
Declaration
public virtual int Count { get; }
Property Value
Type | Description |
---|---|
int |
CountsByTimeStepMSec
Statistics for a task run.
The same task can run more than once, but, if that task records statistics, each run would create its own TaskStats.Declaration
public virtual long CountsByTimeStepMSec { get; }
Property Value
Type | Description |
---|---|
long |
Elapsed
Gets elapsed time.
Declaration
public virtual long Elapsed { get; }
Property Value
Type | Description |
---|---|
long |
MaxTotMem
Gets the maxTotMem.
Declaration
public virtual long MaxTotMem { get; }
Property Value
Type | Description |
---|---|
long |
MaxUsedMem
Gets the maxUsedMem.
Declaration
public virtual long MaxUsedMem { get; }
Property Value
Type | Description |
---|---|
long |
NumParallelTasks
Gets the numParallelTasks.
Declaration
public virtual int NumParallelTasks { get; }
Property Value
Type | Description |
---|---|
int |
NumRuns
Gets the numRuns.
Declaration
public virtual int NumRuns { get; }
Property Value
Type | Description |
---|---|
int |
Round
Gets the round number.
Declaration
public virtual int Round { get; }
Property Value
Type | Description |
---|---|
int |
Task
Gets the task.
Declaration
public virtual PerfTask Task { get; }
Property Value
Type | Description |
---|---|
PerfTask |
TaskRunNum
Gets the taskRunNum.
Declaration
public virtual int TaskRunNum { get; }
Property Value
Type | Description |
---|---|
int |
Methods
Add(TaskStats)
Add data from another stat, for aggregation.
Declaration
public virtual void Add(TaskStats stat2)
Parameters
Type | Name | Description |
---|---|---|
TaskStats | stat2 | The added stat data. |
Clone()
Statistics for a task run.
The same task can run more than once, but, if that task records statistics, each run would create its own TaskStats.Declaration
public virtual object Clone()
Returns
Type | Description |
---|---|
object |
GetCountsByTime()
Statistics for a task run.
The same task can run more than once, but, if that task records statistics, each run would create its own TaskStats.Declaration
public virtual int[] GetCountsByTime()
Returns
Type | Description |
---|---|
int[] |
SetCountsByTime(int[], long)
Statistics for a task run.
The same task can run more than once, but, if that task records statistics, each run would create its own TaskStats.Declaration
public virtual void SetCountsByTime(int[] counts, long msecStep)
Parameters
Type | Name | Description |
---|---|---|
int[] | counts | |
long | msecStep |
ToString()
Statistics for a task run.
The same task can run more than once, but, if that task records statistics, each run would create its own TaskStats.Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
See Also
ToString()