Table of Contents

Class DefaultStoppingCriteriaFactory

Namespace
BenchmarkDotNet.Engines
Assembly
BenchmarkDotNet.dll
public class DefaultStoppingCriteriaFactory
Inheritance
DefaultStoppingCriteriaFactory

Constructors

DefaultStoppingCriteriaFactory()

public DefaultStoppingCriteriaFactory()

Fields

Instance

public static readonly DefaultStoppingCriteriaFactory Instance

Field Value

DefaultStoppingCriteriaFactory

Methods

CreateWarmup(Job, IResolver, IterationMode, RunStrategy)

public virtual IStoppingCriteria CreateWarmup(Job job, IResolver resolver, IterationMode mode, RunStrategy runStrategy)

Parameters

job Job
resolver IResolver
mode IterationMode
runStrategy RunStrategy

Returns

IStoppingCriteria

CreateWarmupOverhead()

public virtual IStoppingCriteria CreateWarmupOverhead()

Returns

IStoppingCriteria

CreateWarmupWorkload(Job, IResolver, RunStrategy)

public virtual IStoppingCriteria CreateWarmupWorkload(Job job, IResolver resolver, RunStrategy runStrategy)

Parameters

job Job
resolver IResolver
runStrategy RunStrategy

Returns

IStoppingCriteria