Table of Contents

Class IterationCountAttribute

Namespace
nanoFramework.Benchmark.Attributes
Assembly
nanoFramework.Benchmark.dll

Specifies samples count for each benchmark.

[AttributeUsage(AttributeTargets.Class)]
public sealed class IterationCountAttribute : Attribute
Inheritance
IterationCountAttribute
Inherited Members
Extension Methods

Constructors

IterationCountAttribute(int)

Initializes a new instance of the IterationCountAttribute class.

public IterationCountAttribute(int count)

Parameters

count int

Samples count.

Fields

DefaultIterationCount

Default samples count when attribute is not added.

public const ushort DefaultIterationCount = 10

Field Value

ushort

Properties

Count

Gets samples count.

public int Count { get; }

Property Value

int