From 250f7bf93aab8539c4fd8dd933ee34f58e08fc27 Mon Sep 17 00:00:00 2001 From: jasonwitty Date: Mon, 11 Aug 2025 14:25:58 -0700 Subject: [PATCH] remove unused vendor field. --- socktop_agent/src/gpu.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/socktop_agent/src/gpu.rs b/socktop_agent/src/gpu.rs index 80c8613..6e1e06d 100644 --- a/socktop_agent/src/gpu.rs +++ b/socktop_agent/src/gpu.rs @@ -7,7 +7,6 @@ pub struct GpuMetrics { pub utilization_gpu_pct: u32, // 0..100 pub mem_used_bytes: u64, pub mem_total_bytes: u64, - // pub vendor: String, } pub fn collect_all_gpus() -> Result, Box> { @@ -19,7 +18,6 @@ pub fn collect_all_gpus() -> Result, Box> utilization_gpu_pct: info.load_pct() as u32, mem_used_bytes: info.used_vram(), mem_total_bytes: info.total_vram(), - // vendor: gpu.vendor().to_string(), }; Ok(vec![metrics])