SteamWar/BauSystem2.0
Archiviert
12
0

Disable System.out messages
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2023-06-17 12:18:51 +02:00
Ursprung 4d4e13ad53
Commit a950640aae

Datei anzeigen

@ -44,12 +44,12 @@ public class RamUsage {
long usedMemory = totalMemory - freeMemory;
usageSelf = usedMemory / (double) totalMemory;
double usageSelfByMax = usedMemory / (double) maxMemory;
System.out.println("Self: " + usageSelf + "/" + usageSelfByMax + /* " " + maxMemory + " " + totalMemory + " " + freeMemory + " " + usedMemory + */ " Ram: " + usage + " CPU: " + load);
// System.out.println("Self: " + usageSelf + "/" + usageSelfByMax + /* " " + maxMemory + " " + totalMemory + " " + freeMemory + " " + usedMemory + */ " Ram: " + usage + " CPU: " + load);
usage = _getUsage();
load = _getLoad();
try {
Thread.sleep(10000);
Thread.sleep(1000);
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
}