Removing silly debugging comments.
authorEsteban Meneses <emenese2@illinois.edu>
Tue, 18 Sep 2012 16:35:42 +0000 (11:35 -0500)
committerEsteban Meneses <emenese2@illinois.edu>
Tue, 18 Sep 2012 16:35:42 +0000 (11:35 -0500)
src/ck-core/ckmessagelogging.h

index 9804616782a8c0d7476920c4f5ef3ec673e9a71c..1d57cd1fb6a109bebbd2b10c12f51678a2de402d 100644 (file)
@@ -31,6 +31,7 @@ extern char objString[100];
 // constant to define the type of checkpoint used (synchronized or not)
 #define SYNCHRONIZED_CHECKPOINT 1
 
+#define DEBUG(x) // x
 
 class MlogEntry;
 
@@ -70,7 +71,7 @@ public:
 
                // checking if ssn was already received
                if(ssn <= data[start]){
-                       CkPrintf("[%d] Repeated ssn=%d start=%d\n",CkMyPe(),ssn,data[start]);
+                       DEBUG(CkPrintf("[%d] Repeated ssn=%d start=%d\n",CkMyPe(),ssn,data[start]));
                        return 1;
                }
 
@@ -90,7 +91,8 @@ public:
                        delete[] old;
                }
 
-               CkPrintf("[%d] Ahead ssn=%d start=%d\n",CkMyPe(),ssn,data[start]);
+               DEBUG(CkPrintf("[%d] Ahead ssn=%d start=%d\n",CkMyPe(),ssn,data[start]));
+
                // adding ssn into data
                num = end - start;
                if(num < 0) num += currentSize;