bgprintf added
authorAbhinav Bhatele <bhatele@illinois.edu>
Wed, 6 May 2009 20:48:17 +0000 (20:48 +0000)
committerAbhinav Bhatele <bhatele@illinois.edu>
Wed, 6 May 2009 20:48:17 +0000 (20:48 +0000)
examples/bigsim/charm/jacobi2d/jacobi2d.C

index 3a4db78c1407604280076a7884723efb252f2e5a..42543e0f7f4473484dfec727def438df546d83c8 100644 (file)
@@ -187,6 +187,9 @@ class Jacobi: public CBase_Jacobi {
 
     // Perform one iteration of work
     void begin_iteration(void) {
+      if(thisIndex.x == 0 && thisIndex.y == 0)
+       BgPrintf("Start of iteration at %f\n");
+
       iterations++;
 
       // Copy left column and right column into temporary arrays