Table of Contents

Class GCMetrics

Namespace
DotCompute.Runtime.Services.Performance.Metrics
Assembly
DotCompute.Runtime.dll

Garbage collection metrics. Tracks .NET runtime memory management performance.

public class GCMetrics
Inheritance
GCMetrics
Inherited Members

Properties

Gen0Collections

Gets the number of Generation 0 collections. Count of short-lived object collections.

public int Gen0Collections { get; init; }

Property Value

int

Gen1Collections

Gets the number of Generation 1 collections. Count of medium-lived object collections.

public int Gen1Collections { get; init; }

Property Value

int

Gen2Collections

Gets the number of Generation 2 collections. Count of long-lived object collections.

public int Gen2Collections { get; init; }

Property Value

int

LongestPause

Gets the longest GC pause. Maximum duration of a single collection.

public TimeSpan LongestPause { get; init; }

Property Value

TimeSpan

TotalPauseTime

Gets the total pause time due to GC. Cumulative time spent in garbage collection.

public TimeSpan TotalPauseTime { get; init; }

Property Value

TimeSpan