Table of Contents

Class DeviceMetrics

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

Device-specific performance metrics. Real-time performance data for a compute device.

public class DeviceMetrics
Inheritance
DeviceMetrics
Inherited Members

Properties

AcceleratorId

Gets the accelerator identifier. Unique ID of the monitored device.

public required string AcceleratorId { get; init; }

Property Value

string

CustomMetrics

Gets custom device metrics. Device-specific performance indicators.

public Dictionary<string, double> CustomMetrics { get; init; }

Property Value

Dictionary<string, double>

MemoryUsageBytes

Gets memory usage in bytes. Current device memory consumption.

public long MemoryUsageBytes { get; init; }

Property Value

long

PowerUsageWatts

Gets power usage in watts. Current device power consumption.

public double PowerUsageWatts { get; init; }

Property Value

double

TemperatureCelsius

Gets temperature in Celsius. Current device operating temperature.

public double TemperatureCelsius { get; init; }

Property Value

double

Timestamp

Gets the metric timestamp. When these metrics were collected.

public DateTime Timestamp { get; init; }

Property Value

DateTime

UsagePercent

Gets the usage percentage. Device compute utilization (0-100).

public double UsagePercent { get; init; }

Property Value

double