auto-sync

This commit is contained in:
rusEfi 2015-02-25 21:04:41 -06:00
parent 1e6adedb1c
commit 90801e7797
1 changed files with 5 additions and 2 deletions

View File

@ -6,10 +6,11 @@ import static com.rusefi.RealHwTest.startRealHardwareTest;
public class EnduranceTest { public class EnduranceTest {
private static final int COUNT = 200; private static final int COUNT = 2000;
public static void main(String[] args) { public static void main(String[] args) {
long start = System.currentTimeMillis(); long start = System.currentTimeMillis();
FileLog.MAIN.logLine("Running " + COUNT + " cycles");
try { try {
String port = startRealHardwareTest(args); String port = startRealHardwareTest(args);
@ -36,6 +37,8 @@ public class EnduranceTest {
FileLog.MAIN.logLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"); FileLog.MAIN.logLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
FileLog.MAIN.logLine("++++++++++++++++++++++++++++++++++++ YES YES YES " + COUNT + " +++++++++++++++"); FileLog.MAIN.logLine("++++++++++++++++++++++++++++++++++++ YES YES YES " + COUNT + " +++++++++++++++");
FileLog.MAIN.logLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"); FileLog.MAIN.logLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
FileLog.MAIN.logLine("In " + (System.currentTimeMillis() - start) + "ms"); long totalTime = System.currentTimeMillis() - start;
long minutes = totalTime / 1000 / 60;
FileLog.MAIN.logLine("In " + minutes + " minutes");
} }
} }