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.
Inheritance
System.Object
    TaskStats
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Lucene.Net.Benchmarks.ByTask.Stats
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class TaskStats
  Properties
| Improve this Doc View SourceCount
Gets the count.
Declaration
public virtual int Count { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
CountsByTimeStepMSec
Declaration
public virtual long CountsByTimeStepMSec { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
Elapsed
Gets elapsed time.
Declaration
public virtual long Elapsed { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
MaxTotMem
Gets the maxTotMem.
Declaration
public virtual long MaxTotMem { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
MaxUsedMem
Gets the maxUsedMem.
Declaration
public virtual long MaxUsedMem { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
NumParallelTasks
Gets the numParallelTasks.
Declaration
public virtual int NumParallelTasks { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
NumRuns
Gets the numRuns.
Declaration
public virtual int NumRuns { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Round
Gets the round number.
Declaration
public virtual int Round { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
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 | 
|---|---|
| System.Int32 | 
Methods
| Improve this Doc View SourceAdd(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()
Declaration
public virtual object Clone()
  Returns
| Type | Description | 
|---|---|
| System.Object | 
GetCountsByTime()
Declaration
public virtual int[] GetCountsByTime()
  Returns
| Type | Description | 
|---|---|
| System.Int32[] | 
SetCountsByTime(Int32[], Int64)
Declaration
public virtual void SetCountsByTime(int[] counts, long msecStep)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32[] | counts | |
| System.Int64 | msecStep | 
ToString()
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.Object.ToString()
  See Also
System.Object.ToString()