This commit is contained in:
rusefi 2024-08-17 22:52:19 -04:00
parent 8d031b98b1
commit 9940193eb0
2 changed files with 14 additions and 0 deletions

View File

@ -135,4 +135,11 @@ public class PCanIoStream extends AbstractIoStream {
public IncomingDataBuffer getDataBuffer() {
return dataBuffer;
}
@Override
public String toString() {
return "PCanIoStream{" + PCanHelper.CHANNEL + ", " +
"totalCounter=" + totalCounter +
'}';
}
}

View File

@ -40,6 +40,13 @@ public class RateCounter {
timeStamps.add(new Pair(timestamp, 1));
}
@Override
public String toString() {
return "RateCounter{" +
getSizeForUnitTest() +
'}';
}
private static class Pair {
private final long timestamp;
private final int value;