import org.eclipse.linuxtools.ctf.core.event.CTFClock;
import org.eclipse.linuxtools.ctf.core.event.EventDeclaration;
import org.eclipse.linuxtools.ctf.core.event.EventDefinition;
+import org.eclipse.linuxtools.ctf.core.event.io.BitBuffer;
import org.eclipse.linuxtools.ctf.core.event.types.ArrayDefinition;
import org.eclipse.linuxtools.ctf.core.event.types.Definition;
import org.eclipse.linuxtools.ctf.core.event.types.IDefinitionScope;
import org.eclipse.linuxtools.ctf.core.event.types.IntegerDefinition;
import org.eclipse.linuxtools.ctf.core.event.types.StructDeclaration;
import org.eclipse.linuxtools.ctf.core.event.types.StructDefinition;
-import org.eclipse.linuxtools.internal.ctf.core.event.io.BitBuffer;
import org.eclipse.linuxtools.internal.ctf.core.event.metadata.exceptions.ParseException;
-import org.eclipse.linuxtools.internal.ctf.core.trace.Stream;
-import org.eclipse.linuxtools.internal.ctf.core.trace.StreamInput;
import org.eclipse.linuxtools.internal.ctf.core.trace.StreamInputPacketIndex;
/**
* @param id the StreamInput
* @return The index
*/
- public StreamInputPacketIndex getIndex(StreamInput id){
+ StreamInputPacketIndex getIndex(StreamInput id){
if(! indexes.containsKey(id)){
indexes.put(id, new StreamInputPacketIndex());
}
/**
* gets the Environment variables from the trace metadata (See CTF spec)
* @return the environment variables in a map form (key value)
+ * @since 2.0
*/
public Map<String, String> getEnvironment() {
return environment;
* @param cycles
* clock cycles since boot
* @return time in nanoseconds UTC offset
+ * @since 2.0
*/
public long timestampCyclesToNanos(long cycles) {
long retVal = cycles + getOffset();
* @param nanos
* time in nanoseconds UTC offset
* @return clock cycles since boot.
+ * @since 2.0
*/
public long timestampNanoToCycles(long nanos) {
long retVal;