pub struct GpuMeter {
pub name: String,
pub busiest_pct: f32,
pub vram_used_mb: u64,
pub vram_total_mb: Option<u64>,
pub reserved_pct: f32,
pub reserved_vram_mb: u64,
pub unified_memory: bool,
pub process_load: Accuracy,
}Expand description
One GPU adapter.
Fields§
§name: StringAdapter name, for example NVIDIA GeForce RTX 4070.
busiest_pct: f32Load of the busiest engine group over the last second, in percent.
vram_used_mb: u64Dedicated video memory in use; on a unified-memory adapter, the RAM the GPU has allocated.
vram_total_mb: Option<u64>Dedicated video memory installed, when the OS reports it; None on a unified-memory
adapter.
reserved_pct: f32Engine load reserved by active leases, in percent. Leases reserve on the adapter with the most video memory only, so it is 0 on every other adapter.
reserved_vram_mb: u64Video memory reserved by active leases; 0 on every adapter but the reserving one. On a unified-memory adapter it comes out of RAM, on top of the RAM meter’s reservation.
unified_memory: boolWhether the adapter’s video memory is the machine’s RAM, as on Apple Silicon.
process_load: AccuracyHow well each job’s GPU load is measured on this adapter.