commit | ab948afcda014d2fd4188e90301e70ab656294c8 | [log] [tgz] |
---|---|---|
author | Raphael Weber <raphael.weber@vector.com> | Wed Sep 23 16:43:31 2020 +0200 |
committer | Raphael Weber <raphael.weber@vector.com> | Wed Sep 23 16:43:31 2020 +0200 |
tree | 71bd03b6bceea4967468bac781ed1bd5a34f346e | |
parent | b9f1cb604c6b8397645e22349351af3764040655 [diff] |
Fixed combi-state calculation. Change-Id: I0328c567bc61fb9b0bde6f68b9490c046b0bab48 Signed-off-by: Raphael Weber <raphael.weber@vector.com>
diff --git a/plugins/org.eclipse.app4mc.amalthea.import.btf/src/org/eclipse/app4mc/amalthea/_import/btf/ATDBMetricCalculator.java b/plugins/org.eclipse.app4mc.amalthea.import.btf/src/org/eclipse/app4mc/amalthea/_import/btf/ATDBMetricCalculator.java index 771fe50..b4f38b2 100644 --- a/plugins/org.eclipse.app4mc.amalthea.import.btf/src/org/eclipse/app4mc/amalthea/_import/btf/ATDBMetricCalculator.java +++ b/plugins/org.eclipse.app4mc.amalthea.import.btf/src/org/eclipse/app4mc/amalthea/_import/btf/ATDBMetricCalculator.java
@@ -93,7 +93,7 @@ + " entityId,\n" + " entityInstance,\n" + " (SELECT id FROM metric WHERE name = '" + cState + "Time'),\n" - + " value\n" + + " SUM(value)\n" + "FROM entityInstanceMetricValue WHERE\n" + " metricId IN (SELECT id FROM metric WHERE name IN (" + stateTimes + ")) AND\n" + " (SELECT isComplete\n"