Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Points

    Test run data points collected as the test proceeds.

    Inheritance
    object
    Points
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.