Struct MetricRunReport
All of the compiled values from one BenchmarkRun for a given MeasureBucket
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NBench.Reporting
Assembly: NBench.dll
Syntax
public struct MetricRunReport
Constructors
MetricRunReport(MetricName, String, Double, Int64)
Declaration
public MetricRunReport(MetricName name, string unit, double metricReading, long ticks)
Parameters
| Type | Name | Description |
|---|---|---|
| MetricName | name | |
| System.String | unit | |
| System.Double | metricReading | |
| System.Int64 | ticks |
Properties
ElapsedNanos
Declaration
public double ElapsedNanos { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
ElapsedSeconds
Declaration
public double ElapsedSeconds { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
MetricValue
The raw values of the MeasureBucket
Declaration
public double MetricValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
MetricValuePerSecond
Declaration
public double MetricValuePerSecond { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Name
The name of the metric
Declaration
public MetricName Name { get; }
Property Value
| Type | Description |
|---|---|
| MetricName |
NanosPerMetricValue
Declaration
public double NanosPerMetricValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Ticks
Declaration
public long Ticks { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
Unit
The unit of measure for the metric
Declaration
public string Unit { get; }
Property Value
| Type | Description |
|---|---|
| System.String |