added commented prints
authorFilippo Gioachin <gioachin@uiuc.edu>
Wed, 2 Dec 2009 22:43:58 +0000 (16:43 -0600)
committerFilippo Gioachin <gioachin@uiuc.edu>
Wed, 2 Dec 2009 22:43:58 +0000 (16:43 -0600)
src/libs/ck-libs/cache/CkCache.C

index a610aadb78b7cd032a44e416e2f550771643e06d..7fb07e14e829be976ee844ef848a727b6cc018a3 100644 (file)
     finishedChunks = 0;
     if (syncdChares > 0) {
       _numChunks = numChunks;
+      //CkPrintf("Cache %d: sync following\n",thisgroup.idx);
     } else {
       syncdChares = 1;
+      //CkPrintf("Cache %d: sync\n",thisgroup.idx);
 
       localChares.reset();
       localCharesWB.reset();
   void CkCacheManager::finishedChunk(int chunk, CmiUInt8 weight) {
     CkAssert(chunkAck[chunk] > 0);
     chunkWeight[chunk] += weight;
+    //CkPrintf("Cache %d: finishedChunk %d\n",thisgroup.idx,chunkAck[chunk]);
     if (--chunkAck[chunk] == 0) {
       // we can safely delete the chunk from the cache