Table of Contents

Class ThreadingDiagnoserAttribute

Namespace
BenchmarkDotNet.Attributes
Assembly
BenchmarkDotNet.dll
[AttributeUsage(AttributeTargets.Class)]
public class ThreadingDiagnoserAttribute : Attribute, IConfigSource
Inheritance
ThreadingDiagnoserAttribute
Implements
Inherited Members

Constructors

ThreadingDiagnoserAttribute(bool, bool)

public ThreadingDiagnoserAttribute(bool displayLockContentionWhenZero = true, bool displayCompletedWorkItemCountWhenZero = true)

Parameters

displayLockContentionWhenZero bool

Display configuration for 'LockContentionCount' when it is empty. True (displayed) by default.

displayCompletedWorkItemCountWhenZero bool

Display configuration for 'CompletedWorkItemCount' when it is empty. True (displayed) by default.

Properties

Config

public IConfig Config { get; }

Property Value

IConfig