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
GCGen0Collections
Gets the number of Generation 0 garbage collections.
public int GCGen0Collections { get; init; }
Property Value
GCGen1Collections
Gets the number of Generation 1 garbage collections.
public int GCGen1Collections { get; init; }
Property Value
GCGen2Collections
Gets the number of Generation 2 garbage collections.
public int GCGen2Collections { get; init; }
Property Value
HandleCount
Gets the number of open handles.
public int HandleCount { get; init; }
Property Value
ThreadCount
Gets the number of active threads.
public int ThreadCount { get; init; }
Property Value
TotalMemory
Gets the total memory available in bytes.
public long TotalMemory { get; init; }
Property Value
UsedMemory
Gets the used memory in bytes.
public long UsedMemory { get; init; }