add pup support
[charm.git] / src / ck-ldb / LBDBManager.h
index eedeba4587e276cd27e72f556f6f9900640df20a..10e16a5b009f4a4c1804ac3c52125755940f8f92 100644 (file)
@@ -201,7 +201,12 @@ public:
   inline void TurnOffBarrierReceiver(LDBarrierReceiver h) 
        { localBarrier.TurnOffReceiver(h); };
   inline void AtLocalBarrier(LDBarrierClient h) 
-       { if (useBarrier) localBarrier.AtBarrier(h); };
+       { 
+                       if(CmiMyPartition()==1)
+                               CkPrintf("[%d] LBDBManager local barrier\n",CkMyPe());
+                  if (useBarrier) 
+                  localBarrier.AtBarrier(h); 
+          };
   inline void ResumeClients() 
        { localBarrier.ResumeClients(); };
   inline void MeasuredObjTime(double wtime, double ctime) {