Table of Contents

Class Engine

Namespace
BenchmarkDotNet.Engines
Assembly
BenchmarkDotNet.dll
public class Engine : IEngine, IDisposable
Inheritance
Engine
Implements

Fields

MinInvokeCount

public const int MinInvokeCount = 4

Field Value

int

Properties

BenchmarkName

public string BenchmarkName { get; }

Property Value

string

CultureInfo

public CultureInfo CultureInfo { get; }

Property Value

CultureInfo

Dummy1Action

public Action Dummy1Action { get; }

Property Value

Action

Dummy2Action

public Action Dummy2Action { get; }

Property Value

Action

Dummy3Action

public Action Dummy3Action { get; }

Property Value

Action

GlobalCleanupAction

public Action GlobalCleanupAction { get; }

Property Value

Action

GlobalSetupAction

public Action GlobalSetupAction { get; }

Property Value

Action

Host

public IHost Host { get; }

Property Value

IHost

IterationCleanupAction

public Action IterationCleanupAction { get; }

Property Value

Action

IterationSetupAction

public Action IterationSetupAction { get; }

Property Value

Action

OperationsPerInvoke

public long OperationsPerInvoke { get; }

Property Value

long

OverheadAction

public Action<long> OverheadAction { get; }

Property Value

Action<long>

Resolver

public IResolver Resolver { get; }

Property Value

IResolver

TargetJob

public Job TargetJob { get; }

Property Value

Job

WorkloadAction

public Action<long> WorkloadAction { get; }

Property Value

Action<long>

Methods

Dispose()

public void Dispose()

Run()

public RunResults Run()

Returns

RunResults

RunIteration(IterationData)

public Measurement RunIteration(IterationData data)

Parameters

data IterationData

Returns

Measurement

WriteLine()

public void WriteLine()

WriteLine(string)

public void WriteLine(string text)

Parameters

text string