Show / Hide Table of Contents

    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
    Namespace: Lucene.Net.Benchmarks.ByTask.Stats
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class TaskStats : object

    Properties

    | Improve this Doc View Source

    Count

    Gets the count.

    Declaration
    public virtual int Count { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    CountsByTimeStepMSec

    Declaration
    public virtual long CountsByTimeStepMSec { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    Elapsed

    Gets elapsed time.

    Declaration
    public virtual long Elapsed { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    MaxTotMem

    Gets the maxTotMem.

    Declaration
    public virtual long MaxTotMem { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    MaxUsedMem

    Gets the maxUsedMem.

    Declaration
    public virtual long MaxUsedMem { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    NumParallelTasks

    Gets the numParallelTasks.

    Declaration
    public virtual int NumParallelTasks { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    NumRuns

    Gets the numRuns.

    Declaration
    public virtual int NumRuns { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Round

    Gets the round number.

    Declaration
    public virtual int Round { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Task

    Gets the task.

    Declaration
    public virtual PerfTask Task { get; }
    Property Value
    Type Description
    PerfTask
    | Improve this Doc View Source

    TaskRunNum

    Gets the taskRunNum.

    Declaration
    public virtual int TaskRunNum { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    Clone()

    Declaration
    public virtual object Clone()
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    GetCountsByTime()

    Declaration
    public virtual int[] GetCountsByTime()
    Returns
    Type Description
    System.Int32[]
    | Improve this Doc View Source

    SetCountsByTime(Int32[], Int64)

    Declaration
    public virtual void SetCountsByTime(int[] counts, long msecStep)
    Parameters
    Type Name Description
    System.Int32[] counts
    System.Int64 msecStep
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)