critical path: bug 495020 fix statistics when reopening a trace
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Tue, 31 May 2016 13:21:13 +0000 (09:21 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Tue, 31 May 2016 14:26:00 +0000 (10:26 -0400)
Change-Id: Ie67aec3a9ea5c114dd7005817da76daf9b764d5e
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/74043
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Hudson CI
analysis/org.eclipse.tracecompass.analysis.graph.ui/src/org/eclipse/tracecompass/internal/analysis/graph/ui/criticalpath/view/CriticalPathView.java

index db2e960313ba00bb44ce28a4658043313f8f4f1d..dd649a5f10eb80eed18899d69e4b3987a2a2834e 100644 (file)
@@ -267,6 +267,10 @@ public class CriticalPathView extends AbstractTimeGraphView {
                 TmfGraphStatistics stats = fObjectStatistics.get(trace, worker);
                 if (stats == null) {
                     stats = new TmfGraphStatistics();
+                    final TmfGraph graph = getGraph(trace);
+                    if (graph != null) {
+                        stats.computeGraphStatistics(graph, worker);
+                    }
                 }
                 fStats = stats;
             }
This page took 0.02556 seconds and 5 git commands to generate.