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
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;
}