mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 06:15:08 +00:00
Corrected the source code format.
This commit is contained in:
@@ -210,12 +210,12 @@ namespace OpenHardwareMonitor.Hardware.Nvidia {
|
||||
uint freeMemory = memoryInfo.Values[4];
|
||||
float usedMemory = Math.Max(totalMemory - freeMemory, 0);
|
||||
memoryFree.Value = (float)freeMemory/ 1024;
|
||||
memoryAvail.Value = (float)totalMemory/ 1024;
|
||||
memoryUsed.Value = usedMemory/ 1024;
|
||||
memoryAvail.Value = (float)totalMemory/ 1024;
|
||||
memoryUsed.Value = usedMemory/ 1024;
|
||||
memoryLoad.Value = 100f * usedMemory / totalMemory;
|
||||
ActivateSensor(memoryAvail);
|
||||
ActivateSensor(memoryUsed);
|
||||
ActivateSensor(memoryFree);
|
||||
ActivateSensor(memoryUsed);
|
||||
ActivateSensor(memoryFree);
|
||||
ActivateSensor(memoryLoad);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user