Skip to main content

collect_host_info

Function collect_host_info 

Source
pub fn collect_host_info(gpus: &[GpuMetrics]) -> HostInfo
Expand description

Collect all host-level metadata. Fast (no network I/O). Takes a snapshot of GPU info already gathered so GPU-derived fields (host_gpu_model, host_gpu_count, host_gpu_vram_mib) can be populated without re-querying the GPU driver.