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§
- GLOBAL_
GPU_ STATE - Global access to GPU vitals for tool investigation (Zero-Shot Trends).
- GpuMetrics
- GpuState
- Shared GPU state — read by the TUI/Agent, written by the background poller.
- History
Point
Functions§
- spawn_
gpu_ monitor - Spawn the background polling task. Returns the shared state handle.