Add support for offsets in event creation
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 10 Apr 2012 22:04:29 +0000 (18:04 -0400)
committerFrancois Chouinard <fchouinard@gmail.com>
Mon, 16 Apr 2012 18:20:29 +0000 (14:20 -0400)
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfEvent.java

index 76a325e0a5dd7854a76ce990736d603c0d6cfd16..76d337ea0ec0b2b9932c8008145082166580d650 100644 (file)
@@ -80,9 +80,7 @@ public final class CtfTmfEvent implements ITmfEvent {
         }
 
         /* Read the base event info */
-        // FIXME restore once the CTF parser with clocks gets merged
-        //Long offset = originTrace.getCTFTrace().getOffset();
-        Long offset = 0L;
+        Long offset = originTrace.getCTFTrace().getOffset();
         this.timestamp = eventDef.timestamp + offset;
         this.sourceCPU = eventDef.getCPU();
         this.typeId = eventDef.getDeclaration().getId();
This page took 0.034645 seconds and 5 git commands to generate.