From d181fa830ee8a2cdd826330a4768d2548eb6506f Mon Sep 17 00:00:00 2001 From: vinjn Date: Sun, 8 Jan 2023 13:58:44 +0800 Subject: [PATCH] update --- src/nvidia_prof.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvidia_prof.cpp b/src/nvidia_prof.cpp index 6036984..e430d4a 100644 --- a/src/nvidia_prof.cpp +++ b/src/nvidia_prof.cpp @@ -308,7 +308,7 @@ int NvidiaInfo::update() nvidia_setup(); #endif } - else CHECK_NVML(nvRetValue, nvmlDeviceGetUtilizationRates); + //else CHECK_NVML(nvRetValue, nvmlDeviceGetUtilizationRates); metrics.addMetric(METRIC_SM_SOL, nvUtilData.gpu); metrics.addMetric(METRIC_MEM_SOL, nvUtilData.memory); }