From ed92cc34e42e334373c31a54ba601d8a9781228e Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 13 Dec 2011 02:56:11 +0100 Subject: Fix nano -> milli (10e6 -> 1e6) .. ooops --- .../opengl/test/junit/jogl/acore/TestShutdownCompleteAWT.java | 8 ++++---- .../opengl/test/junit/jogl/acore/TestShutdownCompleteNEWT.java | 8 ++++---- .../opengl/test/junit/jogl/acore/TestShutdownSharedAWT.java | 8 ++++---- .../opengl/test/junit/jogl/acore/TestShutdownSharedNEWT.java | 8 ++++---- .../com/jogamp/opengl/test/junit/jogl/glsl/TestRulerNEWT01.java | 6 +++--- 5 files changed, 19 insertions(+), 19 deletions(-) (limited to 'src/test/com') 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 { -- cgit v1.2.3