Coverage for orchestrant/monitoring/gpu_types.py: 100%
10 statements
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-18 00:48 +0000
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-18 00:48 +0000
1"""Vendor-neutral GPU metric types shared by the monitoring backends."""
3from __future__ import annotations
5from dataclasses import dataclass
8@dataclass
9class GPUSnapshot:
10 """Container for a single GPU metrics reading."""
12 utilization: float = 0.0
13 memory_used_bytes: int = 0
14 memory_total_bytes: int = 0
15 temperature_celsius: float = 0.0
16 power_watts: float = 0.0
17 vendor: str = "unknown"