Expand description
Background GPU VRAM monitor.
Spawns a Tokio task that polls nvidia-smi every few seconds and stores
the result in lock-free atomics so the TUI render loop can read it cheaply.
Structs§
- GpuState
- Shared GPU state — read by the TUI, written by the background poller.
Functions§
- spawn_
gpu_ monitor - Spawn the background polling task. Returns the shared state handle.