critical path: bug 495020 fix statistics when reopening a trace
[deliverable/tracecompass.git] / 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.0341 seconds and 5 git commands to generate.