Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1041 - trunk/StandAlone


Chronological Thread 
  • From: sparker@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1041 - trunk/StandAlone
  • Date: Wed, 3 May 2006 20:51:16 -0600 (MDT)

Author: sparker
Date: Wed May  3 20:51:15 2006
New Revision: 1041

Modified:
   trunk/StandAlone/manta.cc
Log:
If someone wants to help figure out the performance mystery, uncomment the 
#define on line 165.


Modified: trunk/StandAlone/manta.cc
==============================================================================
--- trunk/StandAlone/manta.cc   (original)
+++ trunk/StandAlone/manta.cc   Wed May  3 20:51:15 2006
@@ -162,9 +162,20 @@
   delete this;
 }
 
+//#define MYSTERY
+#ifdef MYSTERY
+bool never = false;
+#endif
+
 int
 main(int argc, char* argv[])
 {
+#ifdef MYSTERY
+  char tmp[4000];
+  if(never){
+    sprintf(tmp, "");
+  }
+#endif
 #if HAVE_IEEEFP_H
   fpsetmask(FP_X_OFL|FP_X_DZ|FP_X_INV);
 #endif
@@ -403,7 +414,7 @@
     cerr << "manta.cc: Caught unknown exception\n";
     Thread::exitAll(1);
   }
-  
+
   Thread::exitAll(0);
 }
 




  • [MANTA] r1041 - trunk/StandAlone, sparker, 05/03/2006

Archive powered by MHonArc 2.6.16.

Top of page