Add a headless test
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / ctfadaptor / headless / Benchmark.java
index a5d214b0f8fbceb9dfc3bc754a7e676292286a53..ce7e21cf6fb5a431459a043584848c35ca016049 100644 (file)
 package org.eclipse.linuxtools.tmf.core.tests.ctfadaptor.headless;
 
 import java.io.FileNotFoundException;
+<<<<<<< HEAD
+=======
+import java.io.IOException;
+>>>>>>> fe56c70... Added a headless test
 import java.text.DateFormat;
 import java.text.SimpleDateFormat;
 import java.util.Date;
@@ -33,13 +37,13 @@ public class Benchmark {
 
         // Change this to enable text output
         final boolean USE_TEXT = false;
-//
-//        try {
-//            System.in.read();
-//        } catch (IOException e1) {
-//            // TODO Auto-generated catch block
-//            e1.printStackTrace();
-//        }
+
+        try {
+            System.in.read();
+        } catch (IOException e1) {
+            // TODO Auto-generated catch block
+            e1.printStackTrace();
+        }
         // Work variables
         Long nbEvent = 0L;
         Vector<Double> benchs = new Vector<Double>();
This page took 0.02433 seconds and 5 git commands to generate.