Table of Contents

Class SystemMetrics

Namespace
DotCompute.Abstractions.Debugging
Assembly
DotCompute.Abstractions.dll

Represents system metrics at a point in time.

public sealed class SystemMetrics
Inheritance
SystemMetrics
Inherited Members

Properties

CpuUsage

Gets the CPU usage percentage.

public double CpuUsage { get; init; }

Property Value

double

GCGen0Collections

Gets the number of Generation 0 garbage collections.

public int GCGen0Collections { get; init; }

Property Value

int

GCGen1Collections

Gets the number of Generation 1 garbage collections.

public int GCGen1Collections { get; init; }

Property Value

int

GCGen2Collections

Gets the number of Generation 2 garbage collections.

public int GCGen2Collections { get; init; }

Property Value

int

HandleCount

Gets the number of open handles.

public int HandleCount { get; init; }

Property Value

int

ThreadCount

Gets the number of active threads.

public int ThreadCount { get; init; }

Property Value

int

TotalMemory

Gets the total memory available in bytes.

public long TotalMemory { get; init; }

Property Value

long

UsedMemory

Gets the used memory in bytes.

public long UsedMemory { get; init; }

Property Value

long