Update gpu.py

This commit is contained in:
Johnny
2025-03-11 19:03:46 +01:00
committed by GitHub
parent 9bba950975
commit e0fb13c391
+2 -2
View File
@@ -278,8 +278,8 @@ class CGPUInfo:
elif self.jtopLoaded:
mem_data = self.jtopInstance.memory['RAM']
total = mem_data['tot']
shared = mem_data['shared']
return {'total': total, 'used': shared}
used = mem_data['used']
return {'total': total, 'used': used}
else:
return {'total': 1, 'used': 1}