summaryrefslogtreecommitdiffstats
path: root/src/test/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-12-13 02:56:11 +0100
committerSven Gothel <[email protected]>2011-12-13 02:56:11 +0100
commited92cc34e42e334373c31a54ba601d8a9781228e (patch)
treebe9f5ea0874d79886d3e989b1c4b8f4e9ecb7e4c /src/test/com
parent84f50c99cf125e906555acd11e9375d693978d86 (diff)
Fix nano -> milli (10e6 -> 1e6) .. ooops
Diffstat (limited to 'src/test/com')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownCompleteAWT.java8
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownCompleteNEWT.java8
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownSharedAWT.java8
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownSharedNEWT.java8
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestRulerNEWT01.java6
5 files changed, 19 insertions, 19 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownCompleteAWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownCompleteAWT.java
index 1713f4ad6..322ce36c4 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownCompleteAWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownCompleteAWT.java
@@ -95,10 +95,10 @@ public class TestShutdownCompleteAWT extends UITestCase {
long t2 = System.nanoTime();
GLProfile.shutdown(GLProfile.ShutdownType.COMPLETE);
long t3 = System.nanoTime();
- System.err.println("Total: "+ (t3-t0)/10e6 +"ms");
- System.err.println(" GLProfile.initSingleton(): "+ (t1-t0)/10e6 +"ms");
- System.err.println(" Demo Code: "+ (t2-t1)/10e6 +"ms");
- System.err.println(" GLProfile.shutdown(COMPLETE): "+ (t3-t2)/10e6 +"ms");
+ System.err.println("Total: "+ (t3-t0)/1e6 +"ms");
+ System.err.println(" GLProfile.initSingleton(): "+ (t1-t0)/1e6 +"ms");
+ System.err.println(" Demo Code: "+ (t2-t1)/1e6 +"ms");
+ System.err.println(" GLProfile.shutdown(COMPLETE): "+ (t3-t2)/1e6 +"ms");
}
@Test
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownCompleteNEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownCompleteNEWT.java
index 15fe5b3fd..40f13e834 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownCompleteNEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownCompleteNEWT.java
@@ -79,10 +79,10 @@ public class TestShutdownCompleteNEWT extends UITestCase {
long t2 = System.nanoTime();
GLProfile.shutdown(GLProfile.ShutdownType.COMPLETE);
long t3 = System.nanoTime();
- System.err.println("Total: "+ (t3-t0)/10e6 +"ms");
- System.err.println(" GLProfile.initSingleton(): "+ (t1-t0)/10e6 +"ms");
- System.err.println(" Demo Code: "+ (t2-t1)/10e6 +"ms");
- System.err.println(" GLProfile.shutdown(COMPLETE): "+ (t3-t2)/10e6 +"ms");
+ System.err.println("Total: "+ (t3-t0)/1e6 +"ms");
+ System.err.println(" GLProfile.initSingleton(): "+ (t1-t0)/1e6 +"ms");
+ System.err.println(" Demo Code: "+ (t2-t1)/1e6 +"ms");
+ System.err.println(" GLProfile.shutdown(COMPLETE): "+ (t3-t2)/1e6 +"ms");
}
@Test
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownSharedAWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownSharedAWT.java
index cc20a20e9..a12ef2327 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownSharedAWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownSharedAWT.java
@@ -94,10 +94,10 @@ public class TestShutdownSharedAWT extends UITestCase {
long t2 = System.nanoTime();
GLProfile.shutdown(GLProfile.ShutdownType.SHARED_ONLY);
long t3 = System.nanoTime();
- System.err.println("Total: "+ (t3-t0)/10e6 +"ms");
- System.err.println(" GLProfile.initSingleton(): "+ (t1-t0)/10e6 +"ms");
- System.err.println(" Demo Code: "+ (t2-t1)/10e6 +"ms");
- System.err.println(" GLProfile.shutdown(SHARED): "+ (t3-t2)/10e6 +"ms");
+ System.err.println("Total: "+ (t3-t0)/1e6 +"ms");
+ System.err.println(" GLProfile.initSingleton(): "+ (t1-t0)/1e6 +"ms");
+ System.err.println(" Demo Code: "+ (t2-t1)/1e6 +"ms");
+ System.err.println(" GLProfile.shutdown(SHARED): "+ (t3-t2)/1e6 +"ms");
}
@Test
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownSharedNEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownSharedNEWT.java
index 8fc7f0db6..b0096e2b1 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownSharedNEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestShutdownSharedNEWT.java
@@ -79,10 +79,10 @@ public class TestShutdownSharedNEWT extends UITestCase {
long t2 = System.nanoTime();
GLProfile.shutdown(GLProfile.ShutdownType.SHARED_ONLY);
long t3 = System.nanoTime();
- System.err.println("Total: "+ (t3-t0)/10e6 +"ms");
- System.err.println(" GLProfile.initSingleton(): "+ (t1-t0)/10e6 +"ms");
- System.err.println(" Demo Code: "+ (t2-t1)/10e6 +"ms");
- System.err.println(" GLProfile.shutdown(SHARED): "+ (t3-t2)/10e6 +"ms");
+ System.err.println("Total: "+ (t3-t0)/1e6 +"ms");
+ System.err.println(" GLProfile.initSingleton(): "+ (t1-t0)/1e6 +"ms");
+ System.err.println(" Demo Code: "+ (t2-t1)/1e6 +"ms");
+ System.err.println(" GLProfile.shutdown(SHARED): "+ (t3-t2)/1e6 +"ms");
}
@Test
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestRulerNEWT01.java b/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestRulerNEWT01.java
index 255e5c051..13780a7e5 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestRulerNEWT01.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestRulerNEWT01.java
@@ -165,9 +165,9 @@ public class TestRulerNEWT01 extends UITestCase {
long t3 = System.nanoTime();
- System.err.println("t1-t0: "+ (t1-t0)/10e6 +"ms");
- System.err.println("t3-t0: "+ (t3-t0)/10e6 +"ms");
- System.err.println("t3-t2: "+ (t3-t2)/10e6 +"ms");
+ System.err.println("t1-t0: "+ (t1-t0)/1e6 +"ms");
+ System.err.println("t3-t0: "+ (t3-t0)/1e6 +"ms");
+ System.err.println("t3-t2: "+ (t3-t2)/1e6 +"ms");
}
public static void main(String args[]) throws IOException {