Table of Contents

Class PerfCollectProfiler

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

Constructors

PerfCollectProfiler(PerfCollectProfilerConfig)

public PerfCollectProfiler(PerfCollectProfilerConfig config)

Parameters

config PerfCollectProfilerConfig

Fields

Default

public static readonly IDiagnoser Default

Field Value

IDiagnoser

Properties

Analysers

public IEnumerable<IAnalyser> Analysers { get; }

Property Value

IEnumerable<IAnalyser>

Exporters

public IEnumerable<IExporter> Exporters { get; }

Property Value

IEnumerable<IExporter>

Ids

public IEnumerable<string> Ids { get; }

Property Value

IEnumerable<string>

ShortName

public string ShortName { get; }

Property Value

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 results)

Parameters

results DiagnoserResults

Returns

IEnumerable<Metric>

Validate(ValidationParameters)

public IEnumerable<ValidationError> Validate(ValidationParameters validationParameters)

Parameters

validationParameters ValidationParameters

Returns

IEnumerable<ValidationError>