Show / Hide Table of Contents

    Class GcCollectionsPerGenerationCollector

    Returns the number of times System.GC has collected Generation.

    Inheritance
    System.Object
    MetricCollector
    GcCollectionsPerGenerationCollector
    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.GarbageCollection
    Assembly: NBench.dll
    Syntax
    public class GcCollectionsPerGenerationCollector : MetricCollector, IDisposable

    Constructors

    GcCollectionsPerGenerationCollector(MetricName, Int32)

    Declaration
    public GcCollectionsPerGenerationCollector(MetricName name, int generation)
    Parameters
    Type Name Description
    MetricName name
    System.Int32 generation

    GcCollectionsPerGenerationCollector(MetricName, String, Int32)

    Declaration
    public GcCollectionsPerGenerationCollector(MetricName name, string unitName, int generation)
    Parameters
    Type Name Description
    MetricName name
    System.String unitName
    System.Int32 generation

    Properties

    Generation

    Refers to the number of the GC generation we're monitoring

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

    Methods

    Collect()

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

    Implements

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