Show / Hide Table of Contents

    Class Points

    Test run data points collected as the test proceeds.

    Inheritance
    System.Object
    Points
    Namespace: Lucene.Net.Benchmarks.ByTask.Stats
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class Points : object

    Constructors

    | Improve this Doc View Source

    Points(Config)

    Create a Points statistics object.

    Declaration
    public Points(Config config)
    Parameters
    Type Name Description
    Config config

    Properties

    | Improve this Doc View Source

    CurrentStats

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

    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

    | Improve this Doc View Source

    ClearData()

    Clear all data, prepare for more tests.

    Declaration
    public virtual void ClearData()
    | Improve this Doc View Source

    MarkTaskEnd(TaskStats, Int32)

    mark the end of a task

    Declaration
    public virtual void MarkTaskEnd(TaskStats stats, int count)
    Parameters
    Type Name Description
    TaskStats stats
    System.Int32 count
    | Improve this Doc View Source

    MarkTaskStart(PerfTask, Int32)

    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.

    System.Int32 round

    The new task stats created for the starting task.

    Returns
    Type Description
    TaskStats
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)