Fix time scaling problem in Histogram View
authorBernd Hufmann <bhufmann@gmail.com>
Fri, 30 Nov 2012 21:18:02 +0000 (16:18 -0500)
committerBernd Hufmann <bhufmann@gmail.com>
Mon, 3 Dec 2012 12:48:25 +0000 (07:48 -0500)
commitdcb3cda5efe39c70926c89be0bb3433961ca86bd
tree50ffb480b1e7c0ad3b783987dfe606575e6bc91a
parent96b353c5fd297c10fdbdaf057f90242961f42044
Fix time scaling problem in Histogram View

If scale of TmfTimestamps of a trace is not nano-seconds
the start and end time of a trace have to be scaled when comparing
with entered time values.

Additionally, a NPE was fixed that was happening when clearing
the histogram while executing asyncExec() to update the display

Change-Id: I39dd3ed3e375ee520678f1de9cb45ee5fccf77d5
Reviewed-on: https://git.eclipse.org/r/8985
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
IP-Clean: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Hudson CI
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/Histogram.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramCurrentTimeControl.java
This page took 0.026468 seconds and 5 git commands to generate.