Class DetectingValueRecorderExtensions
Inheritance
System.Object
DetectingValueRecorderExtensions
Namespace: Eco.Shared.Tools
Assembly: Eco.Shared.dll
Syntax
public static class DetectingValueRecorderExtensions : Object
Methods
WithPerformanceIssuesDetection(PerformanceCounter, TimeSpan, Boolean)
Adds DetectingValueRecorder to PerformanceCounter.
Declaration
public static PerformanceCounter WithPerformanceIssuesDetection(this PerformanceCounter counter, TimeSpan expectedMaxDuration, bool grabStacktrace = false)
Parameters
Type | Name | Description |
---|---|---|
PerformanceCounter | counter | |
System.TimeSpan | expectedMaxDuration | |
System.Boolean | grabStacktrace |
Returns
Type | Description |
---|---|
PerformanceCounter |