tmf.all: use ITmfTimestamp#toNanos when possible
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / statistics / TmfEventsStatistics.java
index 7c4fca784d1fa514546d64758ae10fab123a7f5b..31c411338a69eeac216adf9a1fedf4d4b917a30e 100644 (file)
@@ -268,7 +268,7 @@ public class TmfEventsStatistics implements ITmfStatistics {
         public void handleData(ITmfEvent event) {
             super.handleData(event);
             if (event.getTrace() == trace) {
-                long ts = event.getTimestamp().normalize(0, SCALE).getValue();
+                long ts = event.getTimestamp().toNanos();
                 Long key = results.floorKey(ts);
                 if (key != null) {
                     incrementValue(key);
This page took 0.025102 seconds and 5 git commands to generate.