TMF: Add possibility to cancel update thread in XY line viewer
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Mon, 24 Feb 2014 17:31:30 +0000 (12:31 -0500)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Tue, 25 Feb 2014 14:27:28 +0000 (09:27 -0500)
commit00968516f1597ce6d31a4e7e7c7f806923c086a2
treeec6176a067a86b3080b250295d29cf2dc1019964
parent48ba00f297c4366650c894d73b7d097d78276707
TMF: Add possibility to cancel update thread in XY line viewer

When the update takes a long time to run (or when it is updated too frequently)
many threads may be running at the same time and the results are not accurate.
The update is now done in its own thread class that can be cancelled and the
updateData method has a monitor to cancel when necessary.

Change-Id: I1430e0d2329b896d85c48326dcd2bef4a013d7a9
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/22460
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
org.eclipse.linuxtools.lttng2.ust.ui/src/org/eclipse/linuxtools/internal/lttng2/ust/ui/views/memusage/MemoryUsageViewer.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/xycharts/linecharts/TmfCommonXLineChartViewer.java
This page took 0.026354 seconds and 5 git commands to generate.