Table of Contents

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

double?

IsThrottling

Whether the device is throttling.

public bool IsThrottling { get; init; }

Property Value

bool

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

double?

PowerWatts

Power usage in watts.

public double? PowerWatts { get; init; }

Property Value

double?

Status

Overall health status.

public required HealthStatus Status { get; init; }

Property Value

HealthStatus

StatusReason

Reason for degraded status.

public string? StatusReason { get; init; }

Property Value

string

TemperatureCelsius

Temperature in Celsius.

public double? TemperatureCelsius { get; init; }

Property Value

double?

Timestamp

Timestamp of the snapshot.

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset