Class TimingCollector
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.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
Implements
System.IDisposable