Class GcTotalMemoryCollector
Measures the total amount of allocated memory that occurs during a performance test run.
Implements
System.IDisposable
Inherited Members
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
Implements
System.IDisposable