Class HealthSnapshot
- Namespace
- DotCompute.Abstractions.Ports
- Assembly
- DotCompute.Abstractions.dll
A snapshot of device health.
public sealed record HealthSnapshot : IEquatable<HealthSnapshot>
- Inheritance
-
HealthSnapshot
- Implements
- Inherited Members
Properties
FanSpeedPercent
Fan speed percentage (0-100).
public int? FanSpeedPercent { get; init; }
Property Value
- int?
GpuUtilization
GPU utilization (0.0-1.0).
public double? GpuUtilization { get; init; }
Property Value
IsThrottling
Whether the device is throttling.
public bool IsThrottling { get; init; }
Property Value
MemoryTotalBytes
Total memory in bytes.
public long? MemoryTotalBytes { get; init; }
Property Value
- long?
MemoryUsedBytes
Memory used in bytes.
public long? MemoryUsedBytes { get; init; }
Property Value
- long?
MemoryUtilization
Memory utilization (0.0-1.0).
public double? MemoryUtilization { get; init; }
Property Value
PowerWatts
Power usage in watts.
public double? PowerWatts { get; init; }
Property Value
Status
Overall health status.
public required HealthStatus Status { get; init; }
Property Value
StatusReason
Reason for degraded status.
public string? StatusReason { get; init; }
Property Value
TemperatureCelsius
Temperature in Celsius.
public double? TemperatureCelsius { get; init; }
Property Value
Timestamp
Timestamp of the snapshot.
public DateTimeOffset Timestamp { get; init; }