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
Properties
Analysers
public IEnumerable<IAnalyser> Analysers { get; }
Property Value
Config
public MemoryDiagnoserConfig Config { get; }
Property Value
Exporters
public IEnumerable<IExporter> Exporters { get; }
Property Value
Ids
public IEnumerable<string> Ids { get; }
Property Value
Methods
DisplayResults(ILogger)
public void DisplayResults(ILogger logger)
Parameters
logger
ILogger
GetRunMode(BenchmarkCase)
public RunMode GetRunMode(BenchmarkCase benchmarkCase)
Parameters
benchmarkCase
BenchmarkCase
Returns
Handle(HostSignal, DiagnoserActionParameters)
public void Handle(HostSignal signal, DiagnoserActionParameters parameters)
Parameters
signal
HostSignalparameters
DiagnoserActionParameters
ProcessResults(DiagnoserResults)
public IEnumerable<Metric> ProcessResults(DiagnoserResults diagnoserResults)
Parameters
diagnoserResults
DiagnoserResults
Returns
Validate(ValidationParameters)
public IEnumerable<ValidationError> Validate(ValidationParameters validationParameters)
Parameters
validationParameters
ValidationParameters