When loading a flamegraph we need to reset the start
and finish time so that the time range is fixed and the
whole flame graph range is displayed.
Otherwise, we end up showing a range of 1 ns after
zooming once and switching the trace.
Change-Id: I85e950754e1361c7fe31739a280a3b14152751aa
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79633
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
callGraphAnalysis.waitForCompletion(monitor);
Display.getDefault().asyncExec(() -> {
fTimeGraphViewer.setInput(callGraphAnalysis.getThreadNodes());
+ fTimeGraphViewer.resetStartFinishTime();
});
return Status.OK_STATUS;
}