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
boolDisplay configuration for 'LockContentionCount' when it is empty. True (displayed) by default.
displayCompletedWorkItemCountWhenZero
boolDisplay configuration for 'CompletedWorkItemCount' when it is empty. True (displayed) by default.
Properties
Config
public IConfig Config { get; }