Class PerformanceProfilerOptions
- Namespace
- DotCompute.Core.Telemetry.Options
- Assembly
- DotCompute.Core.dll
Configuration options for the performance profiler. Controls profiling behavior, resource limits, and data collection settings.
public sealed class PerformanceProfilerOptions
- Inheritance
-
PerformanceProfilerOptions
- Inherited Members
Properties
AllowOrphanedRecords
Gets or sets a value indicating whether orphaned records are allowed. When true, profile records without a parent session are retained. Default value is false.
public bool AllowOrphanedRecords { get; set; }
Property Value
- bool
true if orphaned records are allowed; otherwise, false.
EnableContinuousProfiling
Gets or sets a value indicating whether continuous profiling is enabled. When enabled, profiling continues automatically across multiple operations. Default value is true.
public bool EnableContinuousProfiling { get; set; }
Property Value
- bool
true if continuous profiling is enabled; otherwise, false.
MaxConcurrentProfiles
Gets or sets the maximum number of concurrent profiling sessions. Limits the number of profiles that can run simultaneously to prevent resource exhaustion. Default value is 10.
public int MaxConcurrentProfiles { get; set; }
Property Value
- int
The maximum number of concurrent profiles.
SamplingIntervalMs
Gets or sets the sampling interval in milliseconds for continuous profiling. Determines how frequently performance snapshots are captured. Default value is 100 milliseconds.
public int SamplingIntervalMs { get; set; }
Property Value
- int
The sampling interval in milliseconds.