Show / Hide Table of Contents

    Class TimingCollector

    Inheritance
    System.Object
    MetricCollector
    TimingCollector
    Implements
    System.IDisposable
    Inherited Members
    MetricCollector.Name
    MetricCollector.UnitName
    MetricCollector.WasDisposed
    MetricCollector.DisposeInternal()
    MetricCollector.Dispose()
    MetricCollector.Dispose(Boolean)
    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)
    System.Object.ToString()
    Namespace: NBench.Collection.Timing
    Assembly: NBench.dll
    Syntax
    public sealed class TimingCollector : MetricCollector, IDisposable

    Constructors

    TimingCollector()

    Declaration
    public TimingCollector()

    TimingCollector(TimingMetricName)

    Declaration
    public TimingCollector(TimingMetricName name)
    Parameters
    Type Name Description
    TimingMetricName name

    TimingCollector(TimingMetricName, String)

    Declaration
    public TimingCollector(TimingMetricName name, string unitName)
    Parameters
    Type Name Description
    TimingMetricName name
    System.String unitName

    Methods

    Collect()

    Returns the current time back as milliseconds

    Declaration
    public override double Collect()
    Returns
    Type Description
    System.Double
    Overrides
    MetricCollector.Collect()

    Implements

    System.IDisposable
    Back to top Copyright © 2015-2020 Petabridge™, LLC