Table of Contents

Class ThreadPoolStatistics

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

Thread pool statistics.

public sealed class ThreadPoolStatistics
Inheritance
ThreadPoolStatistics
Inherited Members

Properties

AverageLocalQueueSize

Gets the average size of the local queue.

public double AverageLocalQueueSize { get; }

Property Value

double

The average size of the local queue.

GlobalQueueCount

Gets the global queue count.

public required int GlobalQueueCount { get; init; }

Property Value

int

The global queue count.

LocalQueueCounts

Gets the local queue counts.

public required int[] LocalQueueCounts { get; init; }

Property Value

int[]

The local queue counts.

MaxLocalQueueSize

Gets the maximum size of the local queue.

public int MaxLocalQueueSize { get; }

Property Value

int

The maximum size of the local queue.

MinLocalQueueSize

Gets the minimum size of the local queue.

public int MinLocalQueueSize { get; }

Property Value

int

The minimum size of the local queue.

ThreadCount

Gets the thread count.

public required int ThreadCount { get; init; }

Property Value

int

The thread count.

TotalQueuedItems

Gets the total queued items.

public required int TotalQueuedItems { get; init; }

Property Value

int

The total queued items.