Struct BenchmarkClassMetadata
Metadata used to create a 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.Sdk.Compiler
Assembly: NBench.dll
Syntax
public struct BenchmarkClassMetadata
Constructors
BenchmarkClassMetadata(Type, BenchmarkMethodMetadata, BenchmarkMethodMetadata, BenchmarkMethodMetadata)
Declaration
public BenchmarkClassMetadata(Type benchmarkClass, BenchmarkMethodMetadata setup, BenchmarkMethodMetadata run, BenchmarkMethodMetadata cleanup)
Parameters
Type | Name | Description |
---|---|---|
System.Type | benchmarkClass | |
BenchmarkMethodMetadata | setup | |
BenchmarkMethodMetadata | run | |
BenchmarkMethodMetadata | cleanup |
Properties
BenchmarkClass
Declaration
public Type BenchmarkClass { get; }
Property Value
Type | Description |
---|---|
System.Type |
Cleanup
Declaration
public BenchmarkMethodMetadata Cleanup { get; }
Property Value
Type | Description |
---|---|
BenchmarkMethodMetadata |
Run
Declaration
public BenchmarkMethodMetadata Run { get; }
Property Value
Type | Description |
---|---|
BenchmarkMethodMetadata |
Setup
Declaration
public BenchmarkMethodMetadata Setup { get; }
Property Value
Type | Description |
---|---|
BenchmarkMethodMetadata |