nicer message
This commit is contained in:
parent
79fd4fccf8
commit
83d7cc1e72
|
@ -50,10 +50,10 @@ public class ByteRateOfChangeReports {
|
||||||
ByteRateOfChange.ByteStatistics s2 = traceReport2.getStatistics().computeIfAbsent(id, ByteRateOfChange.ByteStatistics::new);
|
ByteRateOfChange.ByteStatistics s2 = traceReport2.getStatistics().computeIfAbsent(id, ByteRateOfChange.ByteStatistics::new);
|
||||||
|
|
||||||
if (s1.getUniqueValuesCount() != s2.getUniqueValuesCount()) {
|
if (s1.getUniqueValuesCount() != s2.getUniqueValuesCount()) {
|
||||||
String msg = id + ": " + s1.getUniqueValuesCount() + " vs " + s2.getUniqueValuesCount();
|
String msg = id + ": count=" + s1.getUniqueValuesCount() + " vs " + s2.getUniqueValuesCount();
|
||||||
int deltaCount = Math.abs(s1.getUniqueValuesCount() - s2.getUniqueValuesCount());
|
int deltaCount = Math.abs(s1.getUniqueValuesCount() - s2.getUniqueValuesCount());
|
||||||
differences.add(new ByteVariationDifference(deltaCount, msg));
|
differences.add(new ByteVariationDifference(deltaCount, msg));
|
||||||
report.println(msg + " delta=" + deltaCount + " / " + s1.totalTransitions + " vs " + s2.totalTransitions);
|
report.println(msg + " delta=" + deltaCount + " / transitions=" + s1.totalTransitions + " vs " + s2.totalTransitions);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue