pub struct StaticInfo {
pub id: DeviceId,
pub vendor: Vendor,
pub name: String,
pub backend: String,
pub mem_total_bytes: Option<u64>,
pub power_limit_mw: Option<u32>,
pub max_sm_clock_mhz: Option<u32>,
pub temp_slowdown_c: Option<f32>,
pub driver_version: Option<String>,
pub process_hint: Option<String>,
pub source_caveat: Option<String>,
}Expand description
Queried once per device at startup (nvtop’s populate_static_info split).
Fields§
§id: DeviceId§vendor: Vendor§name: String§backend: String§mem_total_bytes: Option<u64>§power_limit_mw: Option<u32>§max_sm_clock_mhz: Option<u32>§temp_slowdown_c: Option<f32>Temperature at which the driver starts thermal slowdown, if exposed.
driver_version: Option<String>§process_hint: Option<String>One-line explanation of why the process list may be incomplete or absent (WSL2
driver limitation, privilege wall); None when there is nothing to explain.
source_caveat: Option<String>Mandatory honesty label for sources whose numbers need qualification to be read
correctly (design cross-platform.md §5.4): macOS’s mem_total_bytes is a
unified-memory working-set budget, not VRAM; WDDM’s util_pct is the busiest
engine’s scheduler duty-cycle, not whole-device capacity. Surfaced TUI/report-side
only — deliberately NOT part of the NDJSON device object for now. None when the
source needs no caveat. serde(default) so older serialized infos still decode.
Trait Implementations§
Source§impl Clone for StaticInfo
impl Clone for StaticInfo
Source§fn clone(&self) -> StaticInfo
fn clone(&self) -> StaticInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more