mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-03 16:36:00 +00:00
Fixes + cleanup
This commit is contained in:
parent
81e3fd346a
commit
f5c499ab60
@ -188,7 +188,9 @@ public class IrisBenchmarking {
|
|||||||
MemoryMXBean memoryMXBean = ManagementFactory.getMemoryMXBean();
|
MemoryMXBean memoryMXBean = ManagementFactory.getMemoryMXBean();
|
||||||
|
|
||||||
Iris.info("OS: " + ServerOS);
|
Iris.info("OS: " + ServerOS);
|
||||||
if(!isRunningAsAdmin() || !ServerOS.contains("Windows")){ Iris.info(C.GOLD + "For the full results use Windows + Admin Rights..");}
|
if (!isRunningAsAdmin() || !ServerOS.contains("Windows")) {
|
||||||
|
Iris.info(C.GOLD + "For the full results use Windows + Admin Rights..");
|
||||||
|
}
|
||||||
Iris.info("CPU Model: " + getCPUModel());
|
Iris.info("CPU Model: " + getCPUModel());
|
||||||
Iris.info("CPU Score: " + "WIP");
|
Iris.info("CPU Score: " + "WIP");
|
||||||
Iris.info("- Integer Math: " + calculateIntegerMath + " MOps/Sec");
|
Iris.info("- Integer Math: " + calculateIntegerMath + " MOps/Sec");
|
||||||
@ -623,6 +625,7 @@ public class IrisBenchmarking {
|
|||||||
}
|
}
|
||||||
return 0.0; // Default value if parsing fails
|
return 0.0; // Default value if parsing fails
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void WindowsCpuSpeedTest() {
|
public static void WindowsCpuSpeedTest() {
|
||||||
try {
|
try {
|
||||||
String command = "winsat cpuformal";
|
String command = "winsat cpuformal";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user