Table of Contents

Class SchedulingStatistics

Namespace
DotCompute.Backends.CPU.Threading.NUMA
Assembly
DotCompute.Backends.CPU.dll

Scheduling statistics for monitoring.

public sealed class SchedulingStatistics
Inheritance
SchedulingStatistics
Inherited Members

Properties

AverageQueueLength

Average queue length across nodes.

public required double AverageQueueLength { get; init; }

Property Value

double

LeastLoadedNode

Gets the least loaded node.

public int LeastLoadedNode { get; }

Property Value

int

LoadImbalance

Load imbalance metric (0.0 = perfectly balanced).

public required double LoadImbalance { get; init; }

Property Value

double

MostLoadedNode

Gets the most loaded node.

public int MostLoadedNode { get; }

Property Value

int

NextTaskId

Next task ID to be assigned.

public required long NextTaskId { get; init; }

Property Value

long

QueueLengthsByNode

Queue lengths per NUMA node.

public required IReadOnlyList<int> QueueLengthsByNode { get; init; }

Property Value

IReadOnlyList<int>

TotalQueuedTasks

Total queued tasks across all nodes.

public required int TotalQueuedTasks { get; init; }

Property Value

int