Change-Id: Ifd1523e6b23652c609e9774e2c9b7ce1ef67bac1
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/84850
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
long nbLostEvents = ((IntegerDefinition) nbLostEventsDef).getValue();
long duration = ((IntegerDefinition) durationDef).getValue();
ITmfTimestamp timestampEnd = trace.createTimestamp(
- trace.timestampCyclesToNanos(ts) + duration);
+ trace.timestampCyclesToNanos(ts) + trace.timestampCyclesToNanos(duration - trace.getOffset()));
CtfTmfLostEvent lostEvent = new CtfTmfLostEvent(trace,
ITmfContext.UNKNOWN_RANK,