Show / Hide Table of Contents

    Class GcTotalMemoryCollector

    Measures the total amount of allocated memory that occurs during a performance test run.

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

    Constructors

    GcTotalMemoryCollector()

    Declaration
    public GcTotalMemoryCollector()

    GcTotalMemoryCollector(MemoryMetricName)

    Declaration
    public GcTotalMemoryCollector(MemoryMetricName name)
    Parameters
    Type Name Description
    MemoryMetricName name

    GcTotalMemoryCollector(MemoryMetricName, String)

    Declaration
    public GcTotalMemoryCollector(MemoryMetricName name, string unitName)
    Parameters
    Type Name Description
    MemoryMetricName name
    System.String unitName

    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