Table of Contents

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

double

AverageStealTime

Gets or sets the average time spent stealing work.

public TimeSpan AverageStealTime { get; set; }

Property Value

TimeSpan

DeviceStats

Gets or sets per-device stealing statistics.

public Dictionary<int, DeviceStealingStats> DeviceStats { get; init; }

Property Value

Dictionary<int, DeviceStealingStats>

FailedSteals

Gets or sets the number of failed steal attempts.

public long FailedSteals { get; set; }

Property Value

long

LoadBalanceEffectiveness

Gets or sets the load balance effectiveness score (0-1). Higher scores indicate better load distribution.

public double LoadBalanceEffectiveness { get; set; }

Property Value

double

MaxQueueImbalance

Gets or sets the maximum queue imbalance observed.

public int MaxQueueImbalance { get; set; }

Property Value

int

StealSuccessRate

Gets or sets the steal success rate (0-1).

public double StealSuccessRate { get; set; }

Property Value

double

SuccessfulSteals

Gets or sets the number of successful steals.

public long SuccessfulSteals { get; set; }

Property Value

long

TotalItemsStolen

Gets or sets the total work items stolen.

public long TotalItemsStolen { get; set; }

Property Value

long

TotalStealAttempts

Gets or sets the total number of steal attempts.

public long TotalStealAttempts { get; set; }

Property Value

long