Module level

Module level 

Source
Expand description

2026-09-26: The telemetry Level and the validated TelemetryConfig.

Serving takes the level from --telemetry and the NVML device from --gpu-ordinal; the cadences are the constants below, through TelemetryConfig::serving.

Owner: telemetry. Invariants: a TelemetryConfig’s device period lies in MIN_DEVICE_PERIOD..=MAX_DEVICE_PERIOD and its kernel span stride is at least 1.

Structs§

TelemetryConfig
2026-09-26: A validated telemetry configuration. Its fields are private, and TelemetryConfig::new (which serving calls) is the only constructor.

Enums§

ConfigError
2026-09-26: Why a level or configuration was refused.
Level
2026-09-26: The measurement level. Each level measures everything the levels below it measure.

Constants§

DEVICE_SAMPLE_PERIOD
2026-09-26: Device sampling cadence when serving: 10 Hz.
KERNEL_SPAN_EVERY
2026-09-26: When serving at level Kernel, per-kernel spans are recorded on one step in this many.
MAX_DEVICE_PERIOD
2026-09-26: The longest device period TelemetryConfig::new accepts.
MIN_DEVICE_PERIOD
2026-09-26: The shortest device period TelemetryConfig::new accepts.