Struct AggregateMetrics
Aggregated metrics accumulated for a single metric across an entire Benchmark
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 AggregateMetrics
Constructors
AggregateMetrics(MetricName, String, IReadOnlyList<MetricRunReport>)
Declaration
public AggregateMetrics(MetricName name, string unit, IReadOnlyList<MetricRunReport> runs)
Parameters
Type | Name | Description |
---|---|---|
MetricName | name | |
System.String | unit | |
System.Collections.Generic.IReadOnlyList<MetricRunReport> | runs |
Properties
Name
The name of the metric
Declaration
public MetricName Name { get; }
Property Value
Type | Description |
---|---|
MetricName |
PerSecondStats
Declaration
public BenchmarkStat PerSecondStats { get; }
Property Value
Type | Description |
---|---|
BenchmarkStat |
Runs
Declaration
public IReadOnlyList<MetricRunReport> Runs { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<MetricRunReport> |
Stats
Declaration
public BenchmarkStat Stats { get; }
Property Value
Type | Description |
---|---|
BenchmarkStat |
Unit
The unit of measure for the metric
Declaration
public string Unit { get; }
Property Value
Type | Description |
---|---|
System.String |