Class StealingStatistics
- Namespace
- DotCompute.Abstractions.Execution
- Assembly
- DotCompute.Abstractions.dll
Statistics for work-stealing execution coordination. Tracks stealing behavior and load balancing effectiveness.
public class StealingStatistics
- Inheritance
-
StealingStatistics
- Derived
- Inherited Members
Properties
AverageQueueDepth
Gets or sets the average queue depth across all devices.
public double AverageQueueDepth { get; set; }
Property Value
AverageStealTime
Gets or sets the average time spent stealing work.
public TimeSpan AverageStealTime { get; set; }
Property Value
DeviceStats
Gets or sets per-device stealing statistics.
public Dictionary<int, DeviceStealingStats> DeviceStats { get; init; }
Property Value
FailedSteals
Gets or sets the number of failed steal attempts.
public long FailedSteals { get; set; }
Property Value
LoadBalanceEffectiveness
Gets or sets the load balance effectiveness score (0-1). Higher scores indicate better load distribution.
public double LoadBalanceEffectiveness { get; set; }
Property Value
MaxQueueImbalance
Gets or sets the maximum queue imbalance observed.
public int MaxQueueImbalance { get; set; }
Property Value
StealSuccessRate
Gets or sets the steal success rate (0-1).
public double StealSuccessRate { get; set; }
Property Value
SuccessfulSteals
Gets or sets the number of successful steals.
public long SuccessfulSteals { get; set; }
Property Value
TotalItemsStolen
Gets or sets the total work items stolen.
public long TotalItemsStolen { get; set; }
Property Value
TotalStealAttempts
Gets or sets the total number of steal attempts.
public long TotalStealAttempts { get; set; }