Table of Contents

Class SystemMetrics

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

System-wide performance metrics. Captures overall system resource utilization and health indicators.

public class SystemMetrics
Inheritance
SystemMetrics
Inherited Members

Properties

ActiveThreadCount

Gets the number of active threads. Current thread pool and worker thread count.

public int ActiveThreadCount { get; init; }

Property Value

int

AverageCpuUsage

Gets the average CPU usage percentage. Mean CPU utilization over the measurement period.

public double AverageCpuUsage { get; init; }

Property Value

double

GarbageCollection

Gets garbage collection metrics. .NET runtime memory management statistics.

public GCMetrics GarbageCollection { get; init; }

Property Value

GCMetrics

PeakCpuUsage

Gets the peak CPU usage percentage. Maximum CPU utilization observed.

public double PeakCpuUsage { get; init; }

Property Value

double

Uptime

Gets the system uptime. Duration since the system or service started.

public TimeSpan Uptime { get; init; }

Property Value

TimeSpan