Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.simantics.threadlog.internal.Activator
Require-Bundle: org.eclipse.core.runtime,
- gnu.trove2;bundle-version="2.0.0"
+ gnu.trove3;bundle-version="3.0.0"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: org.simantics.threadlog
*******************************************************************************/
package org.simantics.threadlog;
-import gnu.trove.TDoubleArrayList;
-import gnu.trove.TLongArrayList;
-
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.DataInput;
import java.io.StreamCorruptedException;
import java.util.ArrayList;
+import gnu.trove.list.array.TDoubleArrayList;
+import gnu.trove.list.array.TLongArrayList;
+
public class ThreadLog {
private static final transient String HDR = "TLOG";
TLongArrayList threads = new TLongArrayList();
public double[] getTimes() {
- return times.toNativeArray();
+ return times.toArray();
}
public String[] getTasks() {
}
public long[] getThreads() {
- return threads.toNativeArray();
+ return threads.toArray();
}
private class TaskImpl implements Task {
*******************************************************************************/
package org.simantics.threadlog.ui;
-import gnu.trove.TLongObjectHashMap;
-import gnu.trove.TObjectProcedure;
-
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import org.simantics.threadlog.Task;
import org.simantics.threadlog.ThreadLog;
+import gnu.trove.map.hash.TLongObjectHashMap;
+import gnu.trove.procedure.TObjectProcedure;
+
public class ThreadLogVisualizer extends JFrame {
private static final long serialVersionUID = 6250996509358338304L;