Table of Contents

Class MemoryDiagnoser

Namespace
BenchmarkDotNet.Diagnosers
Assembly
BenchmarkDotNet.dll
public class MemoryDiagnoser : IDiagnoser
Inheritance
MemoryDiagnoser
Implements

Constructors

MemoryDiagnoser(MemoryDiagnoserConfig)

public MemoryDiagnoser(MemoryDiagnoserConfig config)

Parameters

config MemoryDiagnoserConfig

Fields

Default

public static readonly MemoryDiagnoser Default

Field Value

MemoryDiagnoser

Properties

Analysers

public IEnumerable<IAnalyser> Analysers { get; }

Property Value

IEnumerable<IAnalyser>

Config

public MemoryDiagnoserConfig Config { get; }

Property Value

MemoryDiagnoserConfig

Exporters

public IEnumerable<IExporter> Exporters { get; }

Property Value

IEnumerable<IExporter>

Ids

public IEnumerable<string> Ids { get; }

Property Value

IEnumerable<string>

Methods

DisplayResults(ILogger)

public void DisplayResults(ILogger logger)

Parameters

logger ILogger

GetRunMode(BenchmarkCase)

public RunMode GetRunMode(BenchmarkCase benchmarkCase)

Parameters

benchmarkCase BenchmarkCase

Returns

RunMode

Handle(HostSignal, DiagnoserActionParameters)

public void Handle(HostSignal signal, DiagnoserActionParameters parameters)

Parameters

signal HostSignal
parameters DiagnoserActionParameters

ProcessResults(DiagnoserResults)

public IEnumerable<Metric> ProcessResults(DiagnoserResults diagnoserResults)

Parameters

diagnoserResults DiagnoserResults

Returns

IEnumerable<Metric>

Validate(ValidationParameters)

public IEnumerable<ValidationError> Validate(ValidationParameters validationParameters)

Parameters

validationParameters ValidationParameters

Returns

IEnumerable<ValidationError>