import org.eclipse.tracecompass.tmf.core.event.TmfEventField;
import org.eclipse.tracecompass.tmf.core.event.lookup.ITmfModelLookup;
import org.eclipse.tracecompass.tmf.core.event.lookup.ITmfSourceLookup;
+import org.eclipse.tracecompass.tmf.core.timestamp.TmfNanoTimestamp;
import org.eclipse.tracecompass.tmf.core.trace.ITmfContext;
import org.eclipse.tracecompass.tmf.ctf.core.CtfConstants;
import org.eclipse.tracecompass.tmf.ctf.core.event.lookup.CtfTmfCallsite;
-import org.eclipse.tracecompass.tmf.ctf.core.timestamp.CtfTmfTimestamp;
import org.eclipse.tracecompass.tmf.ctf.core.trace.CtfTmfTrace;
/**
/**
* Constructor used by {@link CtfTmfEventFactory#createEvent}
*/
- CtfTmfEvent(CtfTmfTrace trace, long rank, CtfTmfTimestamp timestamp,
+ CtfTmfEvent(CtfTmfTrace trace, long rank, TmfNanoTimestamp timestamp,
String fileName, int cpu, IEventDeclaration declaration, @NonNull EventDefinition eventDefinition) {
super(trace,
rank,
CtfTmfEvent(CtfTmfTrace trace) {
super(trace,
ITmfContext.UNKNOWN_RANK,
- new CtfTmfTimestamp(-1),
+ new TmfNanoTimestamp(-1),
null,
new TmfEventField("", null, new CtfTmfEventField[0])); //$NON-NLS-1$
fSourceCPU = -1;
return fCtfTmfEventType;
}
+ @Override
+ public String getName() {
+ return fEventName;
+ }
+
@Override
public Set<String> listCustomAttributes() {
if (fEventDeclaration == null) {