Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Tasse2012-07-17 16:43:42 -0400
committerGerrit Code Review @ Eclipse.org2012-07-17 16:43:42 -0400
commit30873160d6662720b5e673bd34d2016382209913 (patch)
tree3d4d42691ee092437f891194ba3337a986e0b34c
parent6fb8338f8388d362456c229c2ccee874160ac746 (diff)
parent5fc949edb6fa2d98186c6de7b53ee18a74134c4d (diff)
downloadorg.eclipse.linuxtools-30873160d6662720b5e673bd34d2016382209913.tar.gz
org.eclipse.linuxtools-30873160d6662720b5e673bd34d2016382209913.tar.xz
org.eclipse.linuxtools-30873160d6662720b5e673bd34d2016382209913.zip
Merge "Fix for bug 385323: HistogramView should normalize more timestamps."
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramRequest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramRequest.java b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramRequest.java
index 433f080d94..505740f8af 100644
--- a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramRequest.java
+++ b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramRequest.java
@@ -83,7 +83,7 @@ public class HistogramRequest extends TmfEventRequest<ITmfEvent> {
public void handleData(ITmfEvent event) {
super.handleData(event);
if (event != null) {
- long timestamp = event.getTimestamp().getValue();
+ long timestamp = event.getTimestamp().normalize(0, -9).getValue();
fHistogram.countEvent(getNbRead(), timestamp);
}
}

Back to the top