+ /*
+ * Read number of lost events
+ */
+ Definition lostEventsdef = getStreamPacketContextDef().lookupDefinition("events_discarded"); //$NON-NLS-1$
+ if (cpuiddef instanceof IntegerDefinition) {
+ lostEvents = (int) ((IntegerDefinition) lostEventsdef).getValue();
+ }
+