Expand description
2026-09-26: L0: what the GPU reports through NVML: power, the cumulative energy counter, clocks, temperature, clock-event reasons, memory, PCIe and NVLink.
DeviceSource is the I/O seam: NvmlSource reads the driver, and a
test supplies its own source or, for the NVML path itself, its own NVML
function table (nvml_source_tests). Energy is the driver’s counter
(nvmlDeviceGetTotalEnergyConsumption), not an integral of sampled power.
Owner: telemetry.
Invariants: a field NvmlSource cannot read is None, never 0.
Structs§
- Device
Reading - 2026-09-26: One reading.
None: the device or driver does not report the field, or reading it failed. - Nvml
Source - 2026-09-26: NVML-backed source for one device ordinal.
Constants§
- CLOCK_
EVENT_ REASONS - 2026-09-26: Named bits of the clocks-event-reasons mask, as
nvml.hdefines them. - SAMPLE_
WORDS - 2026-09-26: Words in the encoded form: a presence mask, the sample time, the fields.
Traits§
- Device
Source - 2026-09-26: Where device readings come from.