From 1def6a74631d3d33ce5ef9269589e1a84a3c956b Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 25 Jul 2024 16:04:30 -0400 Subject: [PATCH] more readable report --- .../java/com/rusefi/can/analysis/ByteRateOfChangeReports.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reader/src/main/java/com/rusefi/can/analysis/ByteRateOfChangeReports.java b/reader/src/main/java/com/rusefi/can/analysis/ByteRateOfChangeReports.java index 9164588..fdd052a 100644 --- a/reader/src/main/java/com/rusefi/can/analysis/ByteRateOfChangeReports.java +++ b/reader/src/main/java/com/rusefi/can/analysis/ByteRateOfChangeReports.java @@ -65,10 +65,10 @@ public class ByteRateOfChangeReports { ByteRateOfChange.ByteStatistics s2 = traceReport2.getStatistics().computeIfAbsent(id, ByteRateOfChange.ByteStatistics::new); if (s1.getUniqueValuesCount() != s2.getUniqueValuesCount()) { - String msg = prefix + id + ": count=" + s1.getUniqueValuesCount() + " vs " + s2.getUniqueValuesCount(); + String msg = prefix + id + ": unique_count=" + s1.getUniqueValuesCount() + " vs " + s2.getUniqueValuesCount(); int deltaCount = Math.abs(s1.getUniqueValuesCount() - s2.getUniqueValuesCount()); differences.add(new ByteVariationDifference(deltaCount, msg)); - report.println(msg + " delta=" + deltaCount + " / transitions=" + s1.totalTransitions + " vs " + s2.totalTransitions); + report.println(msg + " (delta=" + deltaCount + "), transitions=" + s1.totalTransitions + " vs " + s2.totalTransitions); } else { HashSet diff = s1.getUniqueValues(); diff.removeAll(s2.getUniqueValues());